Skip to content

Commit

Permalink
chore: update pm2 script in deploy-to-aws-ec2.yml (#24)
Browse files Browse the repository at this point in the history
* chore: Update deploy-to-aws-ec2.yml

* chore: Update pm2 script in deploy-to-aws-ec2.yml
  • Loading branch information
cjeongmin authored Aug 16, 2024
1 parent 7932f2a commit d7a7cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-aws-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
git pull origin main
npm install
npm run build
pm2 start npm --name "${{ secrets.APP_NAME }}" -- start || pm2 restart "${{ secrets.APP_NAME }}"
pm2 restart "${{ secrets.APP_NAME }}" || pm2 start --name "${{ secrets.APP_NAME }}" npm -- start
EOF

0 comments on commit d7a7cc2

Please sign in to comment.