Merge pull request 'ci: send production host in runner health check' (#4) from fix/runner-health-host into main

Reviewed-on: http://117.72.28.96:8765/Jacky/Hulumath-Web/pulls/4
This commit was merged in pull request #4.
This commit is contained in:
2026-08-09 00:29:14 +08:00
+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"'