From d1a10c69c63295ead11d1548562b5a3cab3b9123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E6=A0=8B=E6=A0=8B?= Date: Wed, 10 Jan 2024 11:17:40 +0800 Subject: [PATCH] fix: algolia search --- .github/workflows/docsearch.yml | 2 ++ docsearch.json | 2 +- docusaurus.config.js | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docsearch.yml b/.github/workflows/docsearch.yml index 3d63c6278..5c6d24cad 100644 --- a/.github/workflows/docsearch.yml +++ b/.github/workflows/docsearch.yml @@ -5,6 +5,8 @@ on: push: branches: - master + schedule: + - cron: '0 0 * * *' jobs: algolia: diff --git a/docsearch.json b/docsearch.json index 5fbedc763..c2964efbe 100644 --- a/docsearch.json +++ b/docsearch.json @@ -1,5 +1,5 @@ { - "index_name": "kubeblocks", + "index_name": "kubeblocks-us", "start_urls": ["https://kubeblocks.io"], "sitemap_urls": ["https://kubeblocks.io/sitemap.xml"], "stop_urls": ["/search"], diff --git a/docusaurus.config.js b/docusaurus.config.js index fedd702fa..2d835773b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -153,9 +153,9 @@ const config = { darkTheme: darkCodeTheme, }, algolia: { - appId: "SES9RBYTIC", - apiKey: "81cd1a2799d82dc7218d055d2414476d", - indexName: "kubeblocks", + appId: "NRQ28YPQ0N", + apiKey: "cc5d86733eacd9eedb631ab9b39e719f", + indexName: "kubeblocks-us", }, }, };