From 4aefaee0464f8b2088b5d4907113d48122a4cfb4 Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Wed, 12 Apr 2023 17:59:01 +0200 Subject: [PATCH] chore: fix GitHub Actions on main (#10012) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 762643a6..45c862d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,8 +103,8 @@ jobs: CRAWLER_ID: ${{secrets.ALGOLIA_CRAWLER_ID}} run: | RESPONSE=$(curl -H "Content-Type: application/json" -X GET --user "$CRAWLER_USER_ID:$CRAWLER_API_KEY" \ - "https://crawler.algolia.com/api/1/crawlers/$CRAWLER_ID" | grep "\"blocked\":true" ); \ - if [ ! -z "$RESPONSE" ]; then echo "\nPlease go to https://crawler.algolia.com/" && exit 1; fi + "https://crawler.algolia.com/api/1/crawlers/$CRAWLER_ID" | grep "\"blocked\":true" || true ); \ + if [ ! -z "$RESPONSE" ]; then echo "Please go to https://crawler.algolia.com/" && exit 1; fi - name: Trigger Algolia reindexing env: CRAWLER_USER_ID: ${{secrets.ALGOLIA_CRAWLER_USER_ID}}