Skip to content

Commit

Permalink
Testing SSH conection from Github Action (7)
Browse files Browse the repository at this point in the history
  • Loading branch information
basshamut committed Oct 14, 2024
1 parent a9f1070 commit 9be0f19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
cd /var/www/html/virtual-dojo/backend
npm install pm2 -g
npm install --only=prod
pm2 restart all || pm2 start server.js --name virtual-dojo
set -x # Habilita el modo de depuración
pm2 restart all || nohup pm2 start server.js --name virtual-dojo > /dev/null 2>&1 &
exit 0
EOF

0 comments on commit 9be0f19

Please sign in to comment.