Skip to content

Commit

Permalink
Update Push2ec2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanhajian committed Mar 23, 2023
1 parent 47d3eeb commit 6c00037
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/Push2ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,11 @@ jobs:
script: |
cd ~/astarwebsite_v2
git pull
npm install pm2 -g
npm install pg --save
pm2 kill
cd ~/astarwebsite_v2/backend
npm install
NODE_ENV=production npm run build
cp ~/ecosystem.config.js .
pm2 start ecosystem.config.js

0 comments on commit 6c00037

Please sign in to comment.