Skip to content

Commit

Permalink
revert: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jun 20, 2024
1 parent c2ef88b commit 6ea0805
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/typesense.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,15 @@ jobs:
build:
name: Update Typesense index
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Run DocSearch Scraper
uses: celsiusnarhwal/typesense-scraper@v2
with:
# The secret containing your Typesense API key. Required.
api-key: ${{ secrets.TYPESENSE_API_KEY }}

# The hostname or IP address of your Typesense server. Required.
host: ${{ secrets.TYPESENSE_HOST }}

# The port on which your Typesense server is listening. Optional. Default: 8108.
port: 443

# The protocol to use when connecting to your Typesense server. Optional. Default: http.
protocol: https

# The path to your DocSearch config file. Optional. Default: docsearch.config.json.
config: config/typesense.json
- 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 config/typesense.json | jq -r tostring)" typesense/docsearch-scraper:latest

0 comments on commit 6ea0805

Please sign in to comment.