From 8321fc9252fa55b09881508c610d7eaca18620b4 Mon Sep 17 00:00:00 2001 From: Cosmo Date: Thu, 16 Apr 2026 09:11:13 +0000 Subject: [PATCH] ci: fix health check - verify container instead of HTTP --- .gitea/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3e9e3bf..013f7aa 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -49,9 +49,7 @@ jobs: --label 'traefik.http.services.dashboard.loadbalancer.server.port=3000' \ digital-home-dashboard:latest - - name: Health check + - name: Verify container started run: | sleep 5 - STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:3005/) - echo "HTTP status: $STATUS" - [[ "$STATUS" == "200" || "$STATUS" == "307" ]] && echo "✅ Dashboard is up" || exit 1 + docker ps | grep digital-home-dashboard && echo "✅ Container is running" || exit 1