ant-design-blazor/.github/workflows/docsearch.yml
James Yeung 93310a1d14 docs: fix anchor and improvement (#1107)
* docs: fix anchor and improvement

* fix docsearch

* fix docsearch action
2021-02-06 19:27:48 +08:00

20 lines
492 B
YAML

name: DocSearch Scraper
on:
schedule:
- cron: "0 1 * * *"
jobs:
docsearch-scrape:
runs-on: ubuntu-latest
if: github.repository_owner == 'ant-design-blazor'
steps:
- uses: actions/checkout@master
- name: scrape
uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_application_id: ${{ secrets.algolia_application_id }}
algolia_api_key: ${{ secrets.algolia_api_key }}
file: '.github/workflows/algolia-config.json'