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