Skip to content

Commit 781a615

Browse files
committed
chore(ci): modify ce search api key
Signed-off-by: Swilder-M <[email protected]>
1 parent 6405e43 commit 781a615

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/deploy_docs.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,22 @@ jobs:
240240
tccli cdn PurgePathCache --cli-unfold-argument --Paths https://docs.emqx.com/zh/${DOCS_TYPE}/${VERSION}/ https://docs.emqx.com/en/${DOCS_TYPE}/${VERSION}/ --FlushType delete
241241
tccli cdn PurgeUrlsCache --cli-unfold-argument --Urls https://docs.emqx.com/api/${DOCS_TYPE}_versions.json https://docs.emqx.com/sitemap_${DOCS_TYPE}_${VERSION}.xml
242242
243-
- name: update search index
243+
- name: update ee search index
244+
if: matrix.docs_type == 'enterprise'
244245
uses: Swilder-M/docsearch-scraper-simple@next
245246
env:
246247
APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID_NEXT }}
247248
API_KEY: ${{ secrets.ALGOLIA_API_KEY_NEXT }}
248249
with:
249250
docs_type: ${{ env.DOCS_TYPE }}
250251
docs_version: ${{ env.VERSION }}
252+
253+
- name: update ce search index
254+
if: matrix.docs_type == 'emqx'
255+
uses: Swilder-M/docsearch-scraper-simple@next
256+
env:
257+
APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID_CE }}
258+
API_KEY: ${{ secrets.ALGOLIA_API_KEY_CE }}
259+
with:
260+
docs_type: ${{ env.DOCS_TYPE }}
261+
docs_version: ${{ env.VERSION }}

0 commit comments

Comments
 (0)