Skip to content

Commit

Permalink
ci: fix algolia uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
Errant404 committed Sep 3, 2024
1 parent 6dc4e63 commit b4ea645
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,12 @@ jobs:
with:
path: ./public
- name: Upload "index.json" to Algolia
uses: rxrw/algolia-index-uploader@v1
with:
index_path: "./public/index.json"
algolia_index_name: "shuosc_index_with_prefix"
algolia_index_admin_key: ${{ secrets.ALGOLIA_APIKEY }}
algolia_index_id: "WDJUT0BGDL"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install algoliasearch
uses: iChochy/Algolia-Upload-Records@main
env:
APPLICATION_ID: "WDJUT0BGDL"
ADMIN_API_KEY: ${{ secrets.ALGOLIA_APIKEY }}
INDEX_NAME: "shuosc_index_with_prefix"
FILE_PATH: "./public/index.json"

# Deployment job
deploy:
Expand Down

0 comments on commit b4ea645

Please sign in to comment.