We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2408d commit 40fcd00Copy full SHA for 40fcd00
.github/workflows/deploy.yml
@@ -61,7 +61,6 @@ jobs:
61
host: ${{ secrets.LIGHTSAIL_HOST }}
62
username: ${{ secrets.LIGHTSAIL_USERNAME }}
63
key: ${{ secrets.LIGHTSAIL_SSH_KEY }}
64
- command_timeout: 30s
65
script: |
66
set -e
67
cd ~/hamsurang-discord-bot
@@ -79,4 +78,6 @@ jobs:
79
78
80
git pull origin main
81
pnpm install --frozen-lockfile
82
- pm2 startOrRestart ecosystem.config.cjs --env production
+ nohup pm2 startOrRestart ecosystem.config.cjs --env production > /dev/null 2>&1 &
+ sleep 2
83
+ pm2 status
0 commit comments