Skip to content

Commit 4cdb3b5

Browse files
authored
Update main.yml
1 parent b5f7459 commit 4cdb3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
git pull origin main # GitHub에서 최신 변경 사항을 pull
3131
npm install # 필요에 따라 의존성 설치
3232
npm run build
33-
pm2 restart dist/app.js # 서버 재시작 (pm2 또는 다른 방법으로)
33+
pm2 start dist/app.js --name my-app || pm2 restart my-app # 서버 재시작 (pm2 또는 다른 방법으로)
3434
EOF

0 commit comments

Comments
 (0)