Update the docs search index #18
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
--- | |
name: Update the docs search index | |
on: | |
schedule: | |
- cron: "0 3 * * *" # Every day at 3AM | |
workflow_dispatch: | |
jobs: | |
update-search-index: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repository | |
uses: actions/[email protected] | |
- name: Run the crawler | |
uses: celsiusnarhwal/[email protected] | |
with: | |
api-key: ${{ secrets.TYPESENSE_ADMIN_KEY }} | |
host: typesense.konstruct.io | |
port: 443 | |
protocol: https | |
config: typesense.docsearch.config.json |