Skip to content

Commit

Permalink
test: pm2 실행 로그 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
gs0428 committed Aug 21, 2024
1 parent 42ff288 commit 9062fa4
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 @@ -25,7 +25,7 @@ jobs:
script: |
cd ~
cd back-end
npx pm2 stop back-end > /dev/null 2>&1
npx pm2 stop back-end
echo stop server
git pull origin main
if ! command -v node &> /dev/null; then
Expand All @@ -36,5 +36,5 @@ jobs:
sudo apt install -y npm
fi
npm ci
npx pm2 start npm --name back-end -- start > /dev/null 2>&1
npx pm2 start npm --name back-end -- start
echo start server

0 comments on commit 9062fa4

Please sign in to comment.