test: use relative path for algolia crawler config for ci testing

This commit is contained in:
andatoshiki 2023-03-22 16:41:43 +08:00
parent 439108375b
commit ca041e3e3e

View File

@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: 🐳 Generate the content of algolia.json as config - name: 🐳 Generate the content of algolia.json as config
id: algolia_config id: algolia_config
run: echo "config=$(cat crawler-config.json | jq -r tostring)" >> $GITHUB_OUTPUT # crawl off the index content from site run: echo "config=$(cat ./crawler-config.json | jq -r tostring)" >> $GITHUB_OUTPUT # crawl off the index content from site
- name: 🥙 Push indices to Algolia - name: 🥙 Push indices to Algolia
uses: signcl/docsearch-scraper-action@master uses: signcl/docsearch-scraper-action@master
env: env: