Open ElderJames opened 2 years ago
This happened to me because I had js_render
enabled in my algolia config.
It seems like this Github action doesn't support that option so I had to drop the action in my CI. The fix was to use the algolia/docsearch-scraper
docker image directly and define a job in CI like this:
steps:
- uses: actions/checkout@v2
- name: Run algolia/docsearch-scraper
run: |
docker pull algolia/docsearch-scraper
docker run \
-e ALGOLIA_APP_ID=${{ secrets.ALGOLIA_APP_ID }} \
-e API_KEY=${{ secrets.API_KEY }} \
-e "CONFIG=$(cat ./algolia-config.json | jq -r tostring)" \
algolia/docsearch-scraper
Please see the action log: https://github.com/ant-design-blazor/ant-design-blazor/runs/6823621463?check_suite_focus=true