Browse Source

feat: 文件

yangxiaolu3 4 years ago
parent
commit
ddc2369197
1 changed files with 4 additions and 10 deletions
  1. 4 10
      .github/workflows/sync-docs.yml

+ 4 - 10
.github/workflows/sync-docs.yml

@@ -19,18 +19,12 @@ jobs:
         uses : JamesIves/github-pages-deploy-action@4.1.7 
         with :
           branch : docs_dev # action 应该部署到的分支。
-          folder : site_docs/docs #操作应该部署的文件夹。
+          folder : site_docs #操作应该部署的文件夹。
+          clean: false
           repository-name: jdf2e/nutui-docs
           token: ${{ secrets.GIT_ACTION }}
-          target-folder: src/docs_vue/docs
+          target-folder: src/docs_vue
 
-      - name : Sync 
-        uses : JamesIves/github-pages-deploy-action@4.1.7 
-        with :
-          branch : docs_dev # action 应该部署到的分支。
-          folder : site_docs/config.json #操作应该部署的文件夹  。
-          repository-name: jdf2e/nutui-docs
-          token: ${{ secrets.GIT_ACTION }}
-          target-folder: src/docs_vue/config.json
+