fix: 修复多个请求轮询时,设置了窗口不可见停止轮询,离开窗口再回 来,多个轮询请求只剩下一个请求继续轮询的问题(当前问题已在ahook… #76
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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| algolia: | |
| needs: deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get the content of algolia.json as config | |
| id: algolia_config | |
| run: echo "::set-output name=config::$(cat algolia.json | jq -r tostring)" | |
| - name: Push indices to Algolia | |
| uses: signcl/docsearch-scraper-action@master | |
| env: | |
| APPLICATION_ID: ${{ secrets.APPLICATION_ID }} | |
| API_KEY: ${{ secrets.API_KEY }} | |
| CONFIG: ${{ steps.algolia_config.outputs.config }} |