From 54684fac7cb73662b8b1dc3b63bd4d6526ec8209 Mon Sep 17 00:00:00 2001 From: Jacky Date: Sun, 9 Aug 2026 00:28:05 +0800 Subject: [PATCH] ci: send production host in runner health check --- .gitea/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b06933f..061774d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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"' -- 2.54.0