Browse Source

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

Hintay 6 tháng trước cách đây
mục cha
commit
a66b7dbc05
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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