.github/workflows/deploy.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- origin/maria #Cuando se terminen las pruebas hay que pasarlo a la rama main | |
workflow_dispatch: | |
jobs: | |
run_pull: | |
name: run pull | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execiting remote ssh commands using ssh key | |
uses: appleboy/ssh-action@v1.0.3 | |
with: | |
host: ${{secrets.SSH_HOST}} | |
username: ${{secrets.SSH_USER}} | |
# key: ${{secrets.SSH_PRIVATE_KEY}} | |
password: ${{secrets.USERPWD}} | |
port: ${{secrets.SSH_PORT}} | |
script: | | |
echo Funciona! |