Skip to content

Commit

Permalink
Update main.yml to restart pm2 on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaillr authored Oct 29, 2024
1 parent 964eaa4 commit 47f66b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ jobs:
git status
npm install --only=prod
cd backend
npm install --only=prod
git status
npm install --only=prod
pm2 restart ./server.js --name minishop --watch

0 comments on commit 47f66b4

Please sign in to comment.