Skip to content

Commit

Permalink
chore: 🤖 algolia docsearch indexer ci
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Jan 12, 2023
1 parent 6ae42b8 commit dc7a08b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Empty file.
11 changes: 10 additions & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest
env:
PAT: ${{ secrets.PAT }}
ALGOLIA_APP_ID: 1RFAB49JUD
ALGOLIA_API_KEY: 76d5e1152fb478c8a97adf44e3cbe424

steps:
- uses: actions/checkout@v3
Expand All @@ -33,4 +35,11 @@ jobs:
publish_dir: ./build
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
user_email: 41898282+github-actions[bot]@users.noreply.github.com

- name: Algolia docsearch indexer
uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_application_id: ${{env.ALGOLIA_APP_ID}}
algolia_api_key: ${{env.ALGOLIA_API_KEY}}
file: ../../config.docsearch.json

0 comments on commit dc7a08b

Please sign in to comment.