Skip to content

Commit

Permalink
Make Algolia crawl step fail when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Nov 7, 2022
1 parent 4457f14 commit 8962bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
deploy:
name: Deploy to Netlify
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build site
Expand Down Expand Up @@ -54,6 +54,6 @@ jobs:

# - name: Trigger Algolia Crawler
# run: |
# curl -X POST -H "Content-Type: application/json" \
# curl -X POST -H "Content-Type: application/json" --fail-with-body \
# --user "${{ secrets.ALGOLIA_CRAWLER_APP_ID }}:${{ secrets.ALGOLIA_CRAWLER_API_KEY }}" \
# "https://crawler.algolia.com/api/1/crawlers/${{ secrets.ALGOLIA_CRAWLER_ID }}/reindex"

1 comment on commit 8962bd5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.