Actualizar .github/workflows/main.yml

This commit is contained in:
2024-08-15 16:12:20 +00:00
parent 3113c7188f
commit 95679fcb70

View File

@@ -3,7 +3,7 @@ name: Deploy Pruebas
on:
push:
branches:
- Pruebas
- Master
jobs:
deploy:
@@ -17,9 +17,9 @@ jobs:
- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
host: ${{ PAAD_SERVER_IP }}
username: ${{ PAAD_SERVER_USER }}
key: ${{ PAAD_SSH_PRIVATE_KEY }}
script: |
cd /usr/share/nginx/html/paad/
git fetch --all