Skip to content

Commit

Permalink
Merge pull request #237 from oclif/mdonnalley/trigger-reindex
Browse files Browse the repository at this point in the history
ci: trigger reindex on publish
  • Loading branch information
mdonnalley authored Apr 3, 2024
2 parents 333f530 + 9e57cc6 commit efbd75a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/onPushToDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit efbd75a

Please sign in to comment.