change backend port for health api

This commit is contained in:
lalitdeore12@gmail.com
2025-03-11 23:19:24 +05:30
parent 14eec03139
commit 6b5c2a7517
+7 -1
View File
@@ -122,7 +122,7 @@ jobs:
exit 1
fi
HEALTH_RESPONSE=$(curl -s 'http://localhost:5001/api/v1/health?force=true' \
HEALTH_RESPONSE=$(curl -s 'http://localhost:3001/api/v1/health?force=true' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Connection: keep-alive' \
@@ -153,6 +153,12 @@ jobs:
echo "Health endpoint check failed. Response did not meet expected criteria."
exit 1
fi
- name: Get shuffle-orborus logs if health check fails
if: failure()
run: |
echo "Health check failed. Fetching shuffle-orborus logs..."
docker logs --tail 50 shuffle-orborus
# notify:
# needs: build
# if: failure()