File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -240,11 +240,22 @@ jobs:
240
240
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
241
241
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
242
242
243
- - name : update search index
243
+ - name : update ee search index
244
+ if : matrix.docs_type == 'enterprise'
244
245
uses : Swilder-M/docsearch-scraper-simple@next
245
246
env :
246
247
APPLICATION_ID : ${{ secrets.ALGOLIA_APPLICATION_ID_NEXT }}
247
248
API_KEY : ${{ secrets.ALGOLIA_API_KEY_NEXT }}
248
249
with :
249
250
docs_type : ${{ env.DOCS_TYPE }}
250
251
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 }}
You can’t perform that action at this time.
0 commit comments