Skip to content

Commit

Permalink
ci: fix algolia uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
Errant404 authored Sep 3, 2024
1 parent 6dc4e63 commit d5a57d9
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: guzhongren/algolia-docsearch-upload-action@v2.0.0
env:
FILE_PATH: "./public/index.json"
APPLICATION_ID: "WDJUT0BGDL"
ADMIN_API_KEY: ${{ secrets.ALGOLIA_APIKEY }}
INDEX_NAME: "shuosc_index_with_prefix"

# Deployment job
deploy:
Expand Down

0 comments on commit d5a57d9

Please sign in to comment.