diff --git a/.github/workflows/auto-cd(dev).yaml b/.github/workflows/auto-cd(dev).yaml index dc5cd13..73f310b 100644 --- a/.github/workflows/auto-cd(dev).yaml +++ b/.github/workflows/auto-cd(dev).yaml @@ -57,7 +57,8 @@ jobs: elif [ "${{ inputs.dev_command }}" = "yarn dev" ]; then lsof -ti:5001 | xargs kill -9 || true fi - ${{ inputs.dev_command }} + nohup ${{ inputs.dev_command }} > output.log 2>&1 & + sleep 5 EOF - name: 원격 서버에 배포 완료