File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,21 +80,21 @@ jobs:
8080
8181 # Smoke test the deployment
8282 echo "🔍 Testing $URL/health ..."
83- STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/health")
83+ STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/health")
8484 if [ "$STATUS" != "200" ]; then
8585 echo "❌ /health returned $STATUS"
8686 exit 1
8787 fi
8888
8989 echo "🔍 Testing $URL/config/project-overrides ..."
90- STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/config/project-overrides")
90+ STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/config/project-overrides")
9191 if [ "$STATUS" != "200" ]; then
9292 echo "❌ /config/project-overrides returned $STATUS"
9393 exit 1
9494 fi
9595
9696 echo "🔍 Testing $URL/ ..."
97- STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/")
97+ STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/")
9898 if [ "$STATUS" != "200" ]; then
9999 echo "❌ / returned $STATUS (this is the index page served by the Express server)"
100100 exit 1
You can’t perform that action at this time.
0 commit comments