Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
said7388 committed Jan 1, 2024
1 parent 099debb commit 07858b6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ jobs:
cache: 'npm'
- run: npm install
- run: npm run build
- name: Deploy Application
run: |
pm2 stop nextjs-example || true
pm2 delete nextjs-example || true
pm2 start npm --name nextjs-app -- run start -- -p 3000
- run: chmod +x ./pm2_runner.sh
- run: bash ./pm2_runner.sh

0 comments on commit 07858b6

Please sign in to comment.