| 123456789101112131415161718192021222324 |
- 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
|