Skip to content

Commit

Permalink
Fix: wrong upload command in algolia-updater
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmykreee committed Dec 18, 2024
1 parent 9362fdd commit 5f0e234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- uses: algolia/setup-algolia-cli@master
- name: Upload Algolia Index
run: algolia indices clear ${{ secrets.ALGOLIA_INDEX_NAME }} --confirm && algolia indices batch ${{ secrets.ALGOLIA_INDEX_NAME }} public/index.json
run: algolia indices clear ${{ secrets.ALGOLIA_INDEX_NAME }} --confirm && algolia objects import ${{ secrets.ALGOLIA_INDEX_NAME }} --file public/index.json
env:
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}

0 comments on commit 5f0e234

Please sign in to comment.