Update aloglia.yml

This commit is contained in:
weisheng 2023-07-29 16:00:13 +08:00 committed by GitHub
parent 7840ee0109
commit 679f2e7753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,12 @@ jobs:
- name: Get the content of algolia.json as config - name: Get the content of algolia.json as config
id: algolia_config id: algolia_config
run: echo "::set-output name=config::$(cat algolia.json | jq -r tostring)" run: echo "::set-output name=config::$(cat algolia.json | jq -r tostring)"
- name: Push indices to Algolia - name: Algolia Crawler Automatic Crawl
uses: iChochy/Algolia-Upload-Records@main uses: algolia/algoliasearch-crawler-github-actions@v1.1.0
env: env:
APPLICATION_ID: ${{ secrets.APPLICATION_ID }} APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
API_KEY: ${{ secrets.API_KEY }} API_KEY: ${{ secrets.API_KEY }}
CONFIG: ${{ steps.algolia_config.outputs.config }} CONFIG: ${{ steps.algolia_config.outputs.config }}