diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b1ee630c..52790d67 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -19,7 +19,7 @@ jobs: --retry 2 \ --retry-delay 5 \ ${{ secrets.WEBSITE_DEPLOY_URL }}) - if [ "$response" -eq 200 ]; then + if [ "$response" -ge 200 ] && [ "$response" -lt 300 ]; then echo "Deployment triggered successfully" else echo "Failed to trigger deployment. Status code: $response"