Skip to content

Commit a47a285

Browse files
committed
fix: 백그라운드 실행 후 바로 종료
1 parent e2225dc commit a47a285

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
REMOTE_USER: ${{ secrets.REMOTE_USER }}
117117
SSH_KEY: ${{ secrets.REMOTE_PRIVATE_KEY }}
118118
run: |
119-
ssh -o StrictHostKeyChecking=no $REMOTE_USER@$REMOTE_HOST "cd /home/root/app/octodocs; sh deploy.sh"
119+
ssh -o StrictHostKeyChecking=no $REMOTE_USER@$REMOTE_HOST "cd /home/root/app/octodocs; nohup yarn start > nohup.out 2> nohup.err < /dev/null &"
120120
121121
# # 배포용 쉘 스크립트 파일 전송
122122
# - name: Copy deploy.sh to remote server

deploy.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)