diff --git a/.github/workflows/typesense-scrape.yml b/.github/workflows/typesense-scrape.yml index c45657450..24daf8f94 100644 --- a/.github/workflows/typesense-scrape.yml +++ b/.github/workflows/typesense-scrape.yml @@ -37,8 +37,8 @@ jobs: run: | docker run -i \ -e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \ - -e TYPESENSE_HOST="typesense.slint.dev" \ - -e TYPESENSE_PORT="8101" \ - -e TYPESENSE_PROTOCOL="http" \ + -e TYPESENSE_HOST="062ykax5pgwon3q7p-1.a1.typesense.net" \ + -e TYPESENSE_PORT="443" \ + -e TYPESENSE_PROTOCOL="https" \ -e CONFIG="$(cat config/typesense-scraper-config.json | jq -r tostring)" \ typesense/docsearch-scraper:0.10.0 diff --git a/config/typesense-scraper-config.json b/config/typesense-scraper-config.json index 0957e188b..8c5a9e261 100644 --- a/config/typesense-scraper-config.json +++ b/config/typesense-scraper-config.json @@ -2,12 +2,12 @@ "index_name": "$TYPESENSE_INDEX_NAME", "start_urls": [ { - "url": "http://localhost:80", + "url": "http://host.docker.internal:80", "selectors_key": "docs" } ], "sitemap_urls": [ - "http://localhost:80/sitemap.xml" + "http://host.docker.internal:80/sitemap.xml" ], "selectors": { "docs": {