diff --git a/.github/workflows/indexnow-notify.yml b/.github/workflows/indexnow-notify.yml index d9cdb4a8..b6ba36a8 100644 --- a/.github/workflows/indexnow-notify.yml +++ b/.github/workflows/indexnow-notify.yml @@ -22,6 +22,6 @@ jobs: }") echo "IndexNow response: HTTP $RESPONSE" echo "Submitted $(echo "$URLS" | wc -l) URLs" - if [ "$RESPONSE" -ne 200 ]; then + if [ "$RESPONSE" -lt 200 ] || [ "$RESPONSE" -ge 300 ]; then echo "::warning::IndexNow returned HTTP $RESPONSE" fi