ci: send production host in runner health check #4

Merged
Jacky merged 1 commits from fix/runner-health-host into main 2026-08-09 00:29:14 +08:00
+2
View File
@@ -150,9 +150,11 @@ jobs:
- name: 从 Runner 验证 Nginx 健康状态 - name: 从 Runner 验证 Nginx 健康状态
env: env:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_PUBLIC_HOST: 117.72.28.96
run: | run: |
curl --fail --silent --show-error \ curl --fail --silent --show-error \
--retry 5 \ --retry 5 \
--retry-delay 2 \ --retry-delay 2 \
--header "Host: $DEPLOY_PUBLIC_HOST" \
"http://$DEPLOY_HOST:4321/health/" \ "http://$DEPLOY_HOST:4321/health/" \
| grep -q '"status": "ok"' | grep -q '"status": "ok"'