diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1e976c2..5a0a4d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,13 +40,12 @@ jobs: echo "Waiting for $URL (timeout: ${TIMEOUT_SECONDS}s)..." for i in $(seq 1 $MAX_RETRIES); do - STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$URL") + STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$URL" || echo "000") if [ "$STATUS" = "200" ]; then echo "Codex is ready" exit 0 fi - echo "Waiting... HTTP status: $STATUS" sleep $SLEEP_INTERVAL done