Skip to content

Commit

Permalink
Typesense: Use local copy of config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aurindam committed Sep 27, 2024
1 parent ff057cb commit 6ca2205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/typesense-scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
persist-credentials: false
- name: Prepare config
run: |
sed -i "s/\$TYPESENSE_INDEX_NAME/${{ inputs.version }}/g" slint/docs/search/scraper-config.json
sed -i "s/\$TYPESENSE_INDEX_NAME/${{ inputs.version }}/g" config/typesense-scraper-config.json
- name: run scraper
run: |
docker run -i \
Expand All @@ -52,7 +52,7 @@ jobs:
-e TYPESENSE_HOST="062ykax5pgwon3q7p-1.a1.typesense.net" \
-e TYPESENSE_PORT="443" \
-e TYPESENSE_PROTOCOL="https" \
-e CONFIG="$(cat slint/docs/search/scraper-config.json | jq -r tostring)" \
-e CONFIG="$(cat config/typesense-scraper-config.json | jq -r tostring)" \
typesense/docsearch-scraper:0.10.0 2>&1 | tee temp_scraper_output.txt
# Retrieve the collection name
Expand Down

0 comments on commit 6ca2205

Please sign in to comment.