From 0ad8b916d97d364e45c7627ad89fef732a503cd8 Mon Sep 17 00:00:00 2001 From: Enriquelp <48442517+Enriquelp@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:16:13 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 986d28a1..0e8147ff 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 "" - sudo cp -r /home/usuario/rhea/rhea-web/dist/ /var/www/ + echo ${{secrets.USERPWD}} | sudo cp -r /home/usuario/rhea/rhea-web/dist/ /var/www/ sudo systemctl restart server sudo systemctl restart nginx exit