diff --git a/.github/workflows/onPushToDocs.yml b/.github/workflows/onPushToDocs.yml index 83eb3580..5b33f34b 100644 --- a/.github/workflows/onPushToDocs.yml +++ b/.github/workflows/onPushToDocs.yml @@ -25,3 +25,6 @@ jobs: yarn install echo "machine github.com login svc-cli-bot password ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}" > ~/.netrc yarn deploy + - name: trigger algolia reindex + run: | + curl -H "Content-Type: application/json" -X POST --user ${{ secrets.CRAWLER_USER_ID }}:${{ secrets.CRAWLER_API_KEY }} "https://crawler.algolia.com/api/1/crawlers/${{ secrets.CRAWLER_ID }}/reindex"