ant-design-blazor/.github/workflows/docsearch.yml
James Yeung 9e4b34fb04
docs: fix docsearch links (#3576)
* docs: docsearch links was blocked

* fix dark theme for docsearch

* fix docsearch scraper action
2023-12-19 21:45:12 +08:00

21 lines
585 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@v2
- name: Run algolia/docsearch-scraper
run: |
docker pull algolia/docsearch-scraper
docker run \
-e ALGOLIA_APP_ID=${{ secrets.algolia_application_id }} \
-e API_KEY=${{ secrets.algolia_api_key }} \
-e "CONFIG=$(cat ./algolia-config.json | jq -r tostring)" \
algolia/docsearch-scraper