ci: send production host in runner health check
PR合并自动部署 / release-check (pull_request) Canceled after 0s
PR合并自动部署 / deploy (pull_request) Canceled after 0s
CI / test (pull_request) Canceled after 14s

This commit is contained in:
2026-08-09 00:28:05 +08:00
parent 160d58b2d2
commit 54684fac7c
+2
View File
@@ -150,9 +150,11 @@ jobs:
- name: 从 Runner 验证 Nginx 健康状态
env:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_PUBLIC_HOST: 117.72.28.96
run: |
curl --fail --silent --show-error \
--retry 5 \
--retry-delay 2 \
--header "Host: $DEPLOY_PUBLIC_HOST" \
"http://$DEPLOY_HOST:4321/health/" \
| grep -q '"status": "ok"'