From 679f2e77535a91756114e53f8b6aa8b99c29387b Mon Sep 17 00:00:00 2001 From: weisheng <1780903673@qq.com> Date: Sat, 29 Jul 2023 16:00:13 +0800 Subject: [PATCH] Update aloglia.yml --- .github/workflows/aloglia.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aloglia.yml b/.github/workflows/aloglia.yml index cb28c82b..3dac02c7 100644 --- a/.github/workflows/aloglia.yml +++ b/.github/workflows/aloglia.yml @@ -10,9 +10,12 @@ jobs: - name: Get the content of algolia.json as config id: algolia_config run: echo "::set-output name=config::$(cat algolia.json | jq -r tostring)" - - name: Push indices to Algolia - uses: iChochy/Algolia-Upload-Records@main + - name: Algolia Crawler Automatic Crawl + uses: algolia/algoliasearch-crawler-github-actions@v1.1.0 + env: APPLICATION_ID: ${{ secrets.APPLICATION_ID }} API_KEY: ${{ secrets.API_KEY }} CONFIG: ${{ steps.algolia_config.outputs.config }} + +