ci: fix command #3
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: Update Typesense | |
on: | |
workflow_dispatch: | |
push: | |
branches: [develop] | |
jobs: | |
build: | |
name: Update Typesense index | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- run: | | |
docker run -it -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 config/typesense.json | jq -r tostring)" typesense/docsearch-scraper:latest |