Skip to content

Commit

Permalink
Deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sheninthjr committed Nov 4, 2023
1 parent 417b299 commit 03deb22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ yarn-error.log*

# vercel
.vercel
deploy.sh
sheninth-qpg.pem
7 changes: 7 additions & 0 deletions packages/prisma/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export PATH=$PATH:/home/ubuntu/.nvm/versions/node/v20.5.1/bin

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

0 comments on commit 03deb22

Please sign in to comment.