Skip to content

Commit

Permalink
feat(docs): Reindex typesense in CI (#11791)
Browse files Browse the repository at this point in the history
Closes AztecProtocol/dev-rel#501


dont merge
  • Loading branch information
catmcgee authored Feb 7, 2025
1 parent ee5fc45 commit 6af8d54
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/reindex-typesense.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Reindex TypeSense

on:
release:
types: [prereleased, published]
jobs:
reindex:
name: Reindex docs in TypeSense
runs-on: ubuntu-latest

steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Reindex with docsearch-scraper
run: |
docker run \
-e "TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }}" \
-e "TYPESENSE_HOST=${{ secrets.TYPESENSE_HOST }}" \
-e "TYPESENSE_PORT=443" \
-e "TYPESENSE_PROTOCOL=https" \
-e "CONFIG=$(cat docs/typesense.config.json | jq -r tostring)" \
typesense/docsearch-scraper:0.11.0

0 comments on commit 6af8d54

Please sign in to comment.