ant-design-blazor/.github/workflows/docsearch.yml
Kieran Coldron daf05d6832 DocScrape action (#328)
* Create docsearch.yml

* Create algolia-config.json

* Update docsearch.yml

* Update docsearch.yml

* change action on schedule

Would end up being ran multiple times on push, algolia scrapes once a day so makes more sense
2020-07-09 10:33:26 +08:00

18 lines
436 B
YAML

name: DocSearch Scraper
on:
schedule:
- cron: "0 1 * * *"
jobs:
docsearch-scrape:
runs-on: ubuntu-latest
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'