mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
website: fix algolia indexing (#11413)
This commit is contained in:
parent
20cc028ac0
commit
a068867400
@ -568,7 +568,7 @@ jobs:
|
|||||||
|
|
||||||
algolia-index:
|
algolia-index:
|
||||||
docker:
|
docker:
|
||||||
- image: docker.mirror.hashicorp.services/node:12
|
- image: docker.mirror.hashicorp.services/node:14
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@ -579,6 +579,7 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
cd website/
|
cd website/
|
||||||
|
npm install -g npm@latest
|
||||||
npm install
|
npm install
|
||||||
node scripts/index_search_content.js
|
node scripts/index_search_content.js
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
@ -1104,7 +1105,6 @@ workflows:
|
|||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
- algolia-index:
|
- algolia-index:
|
||||||
context: consul-docs
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user