mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
daf05d6832
* 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
18 lines
436 B
YAML
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'
|