更新自动整理文档,修正文件夹和文件命名示例格式,增加电影洗版策略的详细说明及优先级匹配规则。 #33
This file contains hidden or 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: docsearch | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| algolia: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get the content of docsearch.json as config | |
| id: algolia_config | |
| run: echo "::set-output name=config::$(cat docsearch.json | jq -r tostring)" | |
| - name: Run algolia/docsearch-scraper image | |
| env: | |
| APPLICATION_ID: ${{ secrets.APPLICATION_ID }} | |
| API_KEY: ${{ secrets.API_KEY }} | |
| CONFIG: ${{ steps.algolia_config.outputs.config }} | |
| run: | | |
| docker run \ | |
| --env APPLICATION_ID=${APPLICATION_ID} \ | |
| --env API_KEY=${API_KEY} \ | |
| --env "CONFIG=${CONFIG}" \ | |
| algolia/docsearch-scraper |