mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
added valid return codes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user