Skip to content

Commit

Permalink
[FIX] after-deploy.sh 에서 sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
leGit-y committed Nov 15, 2023
1 parent 1249904 commit 6922492
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/after-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
sudo pm2 start dist

0 comments on commit 6922492

Please sign in to comment.