From 6922492c9685daf805898e545d35b8aecccf102d Mon Sep 17 00:00:00 2001 From: leGit-y Date: Wed, 15 Nov 2023 17:47:18 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20after-deploy.sh=20=EC=97=90=EC=84=9C=20?= =?UTF-8?q?sudo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/after-deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/after-deploy.sh b/scripts/after-deploy.sh index fe10faa..703ab10 100644 --- a/scripts/after-deploy.sh +++ b/scripts/after-deploy.sh @@ -3,9 +3,9 @@ REPOSITORY=/home/ubuntu/build cd $REPOSITORY -yarn +sudo yarn -npx prisma db pull -npx prisma generate +sudo npx prisma db pull +sudo npx prisma generate -pm2 start dist \ No newline at end of file +sudo pm2 start dist \ No newline at end of file