From fe986c6a509baabe51e3ade717bd32b30113e14a Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Fri, 16 Dec 2022 14:19:28 +0100 Subject: [PATCH] chore: trigger reindexing on doc deployment (#9425) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e206054aa6..3b6a82a18d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,14 @@ jobs: publish_dir: ./website/build user_name: release-please[bot] user_email: 55107282+release-please[bot]@users.noreply.github.com + - name: Trigger Algolia reindexing + env: + CRAWLER_USER_ID: ${{secrets.ALGOLIA_CRAWLER_USER_ID}} + CRAWLER_API_KEY: ${{secrets.ALGOLIA_CRAWLER_API_KEY}} + CRAWLER_ID: ${{secrets.ALGOLIA_CRAWLER_ID}} + run: | + curl -H "Content-Type: application/json" -X POST --user "$CRAWLER_USER_ID:$CRAWLER_API_KEY" \ + "https://crawler.algolia.com/api/1/crawlers/$CRAWLER_ID/reindex" chrome-tests: name: ${{ matrix.suite }} tests on ${{ matrix.os }}