From 1c57da9abaaa9a739886e5b8e432c933699b018f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Thu, 31 Jul 2025 18:17:41 +0200 Subject: [PATCH] update release.yml health --- .gitea/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 06866da..c43b070 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,7 +10,7 @@ env: MIGRATE_BINARY: "acc-server-migration" DEPLOY_PATH: 'C:\acc-server-manager' SERVICE_NAME: "ACC Server Manager" - PORT: "4000" + HEALTH_URL: "http://localhost:4000/v1/system/health" jobs: build: @@ -136,7 +136,7 @@ jobs: while ($attempt -le $maxAttempts -and -not $success) { try { - $response = Invoke-WebRequest -Uri "http://localhost:{{ env.PORT }}/system/health" -TimeoutSec 5 + $response = Invoke-WebRequest -Uri "{{ env.HEALTH_URL }}" -TimeoutSec 5 if ($response.StatusCode -eq 200) { Write-Host "Health check passed!" $success = $true