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"'