mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
Update aloglia.yml
This commit is contained in:
parent
7840ee0109
commit
679f2e7753
7
.github/workflows/aloglia.yml
vendored
7
.github/workflows/aloglia.yml
vendored
@ -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 }}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user