From d33365316bfcdd2457db24cc375dd11c706c7f4e Mon Sep 17 00:00:00 2001 From: Enriquelp <48442517+Enriquelp@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:11:54 +0100 Subject: [PATCH] Update deploy.yml Prueba de deploy automatico listo --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 025c8f37..986d28a1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: git pull cd /home/usuario/rhea/rhea-web/ ng build --configuration production --base-href "" - echo ${{secrets.USERPWD}} | sudo cp -r /home/usuario/rhea/rhea-web/dist/ /var/www/ - echo ${{secrets.USERPWD}} | sudo systemctl restart server - echo ${{secrets.USERPWD}} | sudo systemctl restart nginx + sudo cp -r /home/usuario/rhea/rhea-web/dist/ /var/www/ + sudo systemctl restart server + sudo systemctl restart nginx exit