update release.yml health
Some checks failed
Release and Deploy / build (push) Successful in 1m58s
Release and Deploy / deploy (push) Failing after 1m19s

This commit is contained in:
Fran Jurmanović
2025-07-31 18:17:41 +02:00
parent b2d88f1aa3
commit 1c57da9aba

View File

@@ -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