Skip to content

Commit

Permalink
fix: update deploy.yml (#251)
Browse files Browse the repository at this point in the history
docs: Update deploy.yml
  • Loading branch information
cjeongmin authored Dec 3, 2024
1 parent 226207a commit d5ef77f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ jobs:
# 서버 디렉토리로 이동하여 환경 변수 설정
cd apps/server
echo "${{SERVER_ENV}}" > .env
echo "${{ secrets.SERVER_ENV }}" > .env
# pm2로 기존 프로세스 종료 및 새 프로세스 시작
pm2 stop all || true
pm2 delete all || true
pnpx prisma generate
pnpx prisma migrate deploy
pnpm build
pm2 start ecosystem.config.js
pm2 start ecosystem.config.js

0 comments on commit d5ef77f

Please sign in to comment.