website: fix algolia indexing (#11413)

This commit is contained in:
Bryce Kalow 2021-12-15 08:30:46 -06:00 committed by GitHub
parent 20cc028ac0
commit a068867400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -568,7 +568,7 @@ jobs:
algolia-index:
docker:
- image: docker.mirror.hashicorp.services/node:12
- image: docker.mirror.hashicorp.services/node:14
steps:
- checkout
- run:
@ -579,6 +579,7 @@ jobs:
exit 0
fi
cd website/
npm install -g npm@latest
npm install
node scripts/index_search_content.js
- run: *notify-slack-failure
@ -1104,7 +1105,6 @@ workflows:
only:
- main
- algolia-index:
context: consul-docs
filters:
branches:
only: