Fix typo #879
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Updates the Algolia search index on all content changes | |
name: Update Algolia index | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/algolia.yml | |
- content/**.txt | |
- site/config/search.php | |
- site/models/** | |
- site/plugins/** | |
- scripts/algolia-index | |
jobs: | |
algolia: | |
name: Update Algolia index | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous workflow runs | |
uses: styfle/cancel-workflow-action@0.11.0 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update the Algolia index | |
run: scripts/algolia-index | |
env: | |
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }} |