Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
Prueba de deploy automatico listo
  • Loading branch information
Enriquelp authored Jan 23, 2024
1 parent ae687c6 commit d333653
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d333653

Please sign in to comment.