ci: increase smoke test wait to 30s for cold start
CI/CD / deploy (push) Failing after 1m17s
Details
CI/CD / deploy (push) Failing after 1m17s
Details
Next.js needs more startup time before first request. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fd8707a16c
commit
4abd1f2f88
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Smoke test
|
||||
run: |
|
||||
sleep 15
|
||||
sleep 30
|
||||
HTTP_CODE=$(ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key root@${{ secrets.DEPLOY_HOST }} \
|
||||
"curl -sSL -o /dev/null -w '%{http_code}' --max-time 30 https://ebb-staging.jeffemmett.com/ 2>/dev/null || echo 000")
|
||||
if [ "$HTTP_CODE" -lt 200 ] || [ "$HTTP_CODE" -ge 400 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue