Skip to content

Commit f9f8da0

Browse files
authored
Merge pull request #331 from PromptPlace/feat/#295
Fix: PM2 실행 파일의 절대 경로를 직접 사용하도록 수정
2 parents 6493c1a + 9c837e7 commit f9f8da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: Restart PM2 Application (promptplace-api)
6666
run: |
67-
ssh prod '/bin/bash -lc "pm2 restart promptplace-api"'
67+
ssh prod 'export PATH=$PATH:/home/ubuntu/.local/share/pnpm && pm2 restart promptplace-api'
6868
6969
- name: Stop PM2 app (one-time)
7070
run: |

0 commit comments

Comments
 (0)