From 5865ea2799775e1fbd36b3bb530003ff11674279 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Thu, 15 Aug 2024 18:25:59 +0000 Subject: [PATCH] Regresar al proceso original Variables --- host: ${{ secrets.SERVER_IP }} username: ${{ secrets.SERVER_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a26d0c0..29f83e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: Deploy Pruebas on: push: branches: - - master + - Pruebas jobs: deploy: @@ -17,10 +17,10 @@ jobs: - name: Deploy to Server uses: appleboy/ssh-action@master with: - host: ${{ PAAD_SERVER_IP }} - username: ${{ PAAD_SERVER_USER }} - key: ${{ PAAD_SSH_PRIVATE_KEY }} + host: ${{ secrets.SERVER_IP }} + username: ${{ secrets.SERVER_USER }} + key: ${{ secrets.SSH_PRIVATE_KEY }} script: | cd /usr/share/nginx/html/paad/ git fetch --all - git reset --hard origin/Pruebas + git reset --hard origin/Pruebas \ No newline at end of file