bd22221496
Only include the Europa docs cd website ./rebuild_algolia_docs_search_index.sh jq is /Users/gerhard/.nix-profile/bin/jq docker is /Users/gerhard/.nix-profile/bin/docker > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1202/plan/ 16 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1214/migrate-from-dagger-0.1/ 5 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/index.html 40 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1213/api/ 47 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1201/ci-environment/ 15 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1203/client/ 21 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1211/go-docker-swarm/ 15 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1204/secrets/ 12 records) > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1205/container-images/ 9 records) Nb hits: 180 Fixes #1832 Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
12 lines
258 B
Bash
Executable File
12 lines
258 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
type jq
|
|
type docker
|
|
|
|
docker run -it \
|
|
-e API_KEY="${API_KEY:?must be set}" \
|
|
-e APPLICATION_ID="${APPLICATION_ID:?must be set}" \
|
|
-e "CONFIG=$(jq -r tostring < docsearch.config.json)" \
|
|
algolia/docsearch-scraper
|