docs: Improve email event handler docs #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Index docs to Typesense | |
on: | |
push: | |
branches: | |
- docs | |
jobs: | |
index_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Index docs to Typesense | |
run: | | |
docker run \ | |
-e TYPESENSE_API_KEY=${{ vars.TYPESENSE_API_KEY }} \ | |
-e TYPESENSE_HOST="${{ vars.TYPESENSE_HOST }}" \ | |
-e TYPESENSE_PORT="443" \ | |
-e TYPESENSE_PROTOCOL="https" \ | |
-e CONFIG="$(cat docs/scraper/config.json | jq -r tostring)" \ | |
typesense/docsearch-scraper |