rebuild-search-index.yml 509 B

123456789101112131415
  1. name: Rebuild Search Index
  2. on:
  3. workflow_dispatch:
  4. permissions: read-all
  5. jobs:
  6. build:
  7. if: github.repository_owner == 'spring-projects'
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout
  11. uses: actions/checkout@v2
  12. with:
  13. fetch-depth: 5
  14. - name: Run Docsearch Scraper
  15. run: $GITHUB_WORKSPACE/.github/actions/algolia-docsearch-scraper.sh "${{ secrets.ALGOLIA_APPLICATION_ID }}" "${{ secrets.ALGOLIA_WRITE_API_KEY }}" $GITHUB_WORKSPACE/.github/actions/algolia-config.json