Browse Source

feat: 文件

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

+ 9 - 0
.github/workflows/sync-docs.yml

@@ -24,4 +24,13 @@ jobs:
           token: ${{ secrets.GIT_ACTION }}
           target-folder: src/docs_vue/docs
 
+      - 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
+