Skip to content

Commit a961c29

Browse files
committed
fix: increase health check wait time to 30s
1 parent 0719510 commit a961c29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/deploy-optimized.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ jobs:
109109
port: ${{ secrets.ALIYUN_PORT }}
110110
script: |
111111
echo "🏥 Running health check..."
112-
sleep 5
112+
sleep 30
113113
if pm2 describe note-gen-docs | grep -q "online"; then
114114
echo "✅ Application is running"
115115
exit 0
116116
else
117117
echo "❌ Application failed to start"
118-
pm2 logs note-gen-docs --lines 50
118+
pm2 logs note-gen-docs --lines 100
119119
exit 1
120120
fi

0 commit comments

Comments
 (0)