Skip to content

Commit

Permalink
Merge pull request #13 from TEAM-ITERVIEW/#2
Browse files Browse the repository at this point in the history
[feat] CI/CD 구축
  • Loading branch information
cha2y0ung authored Mar 22, 2024
2 parents fe43faa + 24d8a4e commit 377d2e4
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 @@ -5,13 +5,13 @@ cd $REPOSITORY

#? dependencies 설치
echo 'Installing Dependencies ...'
sudo yarn
sudo /usr/bin/yarn db:pull
yarn
/usr/bin/yarn db:pull

#? Prisma 사전 작업
echo 'Generating Prisma ...'
yarn generate
generate

#? PM2로 서버 실행
echo 'Starting server with PM2 ...'
sudo pm2 start dist
pm2 start dist

0 comments on commit 377d2e4

Please sign in to comment.