From 373030b81a1ba7a395089dfceaa6f91dfd9b46d4 Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Wed, 18 Mar 2026 22:33:56 +0800 Subject: [PATCH] Fix health check: use DEPLOY_PORT variable for host port The frontend port varies per deployment (80 on dev, 8088 on dedicated host). Use a Gitea variable so it works across environments. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 299326b..5969d14 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -56,7 +56,7 @@ jobs: run: | echo "Waiting for services to start..." sleep 30 - curl -f http://localhost/health || exit 1 + curl -f http://localhost:${{ vars.DEPLOY_PORT }}/health || exit 1 - name: Prune old images if: success()