Skip to content

Commit

Permalink
express deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sheninthjr committed Nov 6, 2023
1 parent 45b0654 commit ad42715
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/prisma/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ export PATH=$PATH:/home/ubuntu/.nvm/versions/node/v20.5.1/bin

cd /home/ubuntu/Automatic-Question-Generator
git pull origin master
yarn start:express
yarn build
pm2 stop express
pm2 start npm --name "express" -- run "start:express"

0 comments on commit ad42715

Please sign in to comment.