浏览代码

chore(ci): push all documents to Pages with tags

Hintay 6 月之前
父节点
当前提交
a66b7dbc05
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      .github/workflows/documents.yml

+ 2 - 3
.github/workflows/documents.yml

@@ -3,8 +3,7 @@ name: Build Documents
 on:
   push:
     branches:
-      - 'dev'
-      - 'main'
+      - '*'
     paths:
       - "docs/**/*.js"
       - "docs/**/*.ts"
@@ -59,4 +58,4 @@ jobs:
         with:
           apiToken: ${{ secrets.CF_API_TOKEN }}
           accountId: ${{ secrets.CF_ACCOUNT_ID }}
-          command: pages deploy "docs/.vitepress/dist/" --branch=main --commit-dirty=true --project-name=nginxui
+          command: pages deploy "docs/.vitepress/dist/" --commit-dirty=true --project-name=nginxui