Merge branch 'master' of https://github.com/rollup/rollup into sync-e… #281
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: algolia | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| algolia: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Get the content of algolia.json as config | |
| id: algolia_config | |
| run: echo "config=$(cat crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT | |
| - name: Push indices to Algolia | |
| uses: signcl/docsearch-scraper-action@master | |
| env: | |
| APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }} | |
| API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| CONFIG: ${{ steps.algolia_config.outputs.config }} |