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