Abreviaturas para comandos en git
Abreviatura: es el comando resultante al crear el alias | Comando: instruccion que realiza el comando
#Alias | |
alias apache-stop="sudo service apache2 stop && echo 'apache2 service DETENIDO'" | |
alias apache-start="sudo service apache2 start && echo 'apache2 service INICIADO'" | |
alias apache-restart="sudo service apache2 restart && echo 'apache2 service REINICIADO'" | |
alias bashconfig="sudo nano ~/.bashrc ; source ~/.bashrc ; echo 'Bashrc actualizado' " | |
alias install="sudo apt install " | |
alias pbcopy='xclip -selection clipboard' | |
alias pbpaste='xclip -selection clipboard -o' | |
#mysql |
#Creamos el workflow, y creamos las variables en config > secrets | |
name: 🧪 Deploy con Github Actions | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
web-deploy: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest |
#include<iostream> | |
using namespace std; | |
int main (){ | |
cout <<"Hola mundo"<<endl; | |
return 0 | |
} |