瀏覽代碼

fix(ci): modify latest search index

Signed-off-by: Swilder-M <poxiaobbs@gmail.com>
Swilder-M 3 年之前
父節點
當前提交
ee01faaa31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/deploy_docs.yaml

+ 1 - 1
.github/workflows/deploy_docs.yaml

@@ -94,7 +94,7 @@ jobs:
         file_paths: https://ekuiper.org/docs/ 
 
     - name: update search index
-      if: env.LATEST_VERSION == env.VERSION
+      if: env.VERSION == 'latest'
       uses: Swilder-M/docsearch-scraper-simple@v3
       env:
         APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}