From ad42715f47771329533b227c0726d000c07fca90 Mon Sep 17 00:00:00 2001 From: sheninthjr Date: Tue, 7 Nov 2023 01:55:30 +0530 Subject: [PATCH] express deploy.sh --- packages/prisma/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/prisma/deploy.sh b/packages/prisma/deploy.sh index 13c8e44..87dea74 100644 --- a/packages/prisma/deploy.sh +++ b/packages/prisma/deploy.sh @@ -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"