You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
627 B
20 lines
627 B
name: Update Algolia Index |
|
|
|
on: |
|
schedule: |
|
- cron: '0 10 * * *' # Once per day at 10am UTC |
|
workflow_dispatch: # Manual trigger |
|
|
|
permissions: |
|
contents: read |
|
|
|
jobs: |
|
update: |
|
name: Update Algolia Index |
|
runs-on: ubuntu-latest |
|
if: ${{ github.repository == 'spring-projects/spring-security' }} |
|
steps: |
|
- name: Checkout Source |
|
uses: actions/checkout@v2 |
|
- name: Update Index |
|
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"
|
|
|