5cd9cdad8d
* Update algolia-index.yml * Generate the file
16 lines
407 B
YAML
16 lines
407 B
YAML
docker:
|
|
- image: node:14
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Push content to Algolia Index
|
|
command: |
|
|
if [ "$CIRCLE_REPOSITORY_URL" != "git@github.com:hashicorp/vault.git" ]; then
|
|
echo "Not Vault OSS Repo, not indexing Algolia"
|
|
exit 0
|
|
fi
|
|
cd website/
|
|
npm install -g npm@latest
|
|
npm install
|
|
node scripts/index_search_content.js
|