diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index 2937c68..9e19988 100644 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -126,7 +126,7 @@ jobs: echo "===== 后端健康 (/health 容器内自检,带重试) =====" BOK=0 - for i in $(seq 1 24); do + for i in $(seq 1 60); do if docker exec perler-lab-server node -e "fetch('http://localhost:8788/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))" 2>/dev/null; then BOK=1; break; fi sleep 5 done