Browse Source

add github action to publish docs to gh-pages branch

Andrey Konstantinov 3 years ago
parent
commit
83e7f3b933
43 changed files with 47 additions and 719 deletions
  1. 46 0
      .github/workflows/gh-pages.yml
  2. 1 1
      docs/.gitignore
  3. 0 0
      docs/build/.nojekyll
  4. 0 1
      docs/build/1.8e9e26ef.js
  5. 0 1
      docs/build/15.e1814611.js
  6. 0 1
      docs/build/16.948745f1.js
  7. 0 1
      docs/build/17896441.3fa91858.js
  8. 0 2
      docs/build/2.a6407783.js
  9. 0 5
      docs/build/2.a6407783.js.LICENSE.txt
  10. 0 1
      docs/build/20ac7829.ea3a7788.js
  11. 0 19
      docs/build/404.html
  12. 0 1
      docs/build/48626f7a.53955b96.js
  13. 0 1
      docs/build/4b2d0e04.9fc2b3a0.js
  14. 0 1
      docs/build/4f6c1b00.2a639a1d.js
  15. 0 1
      docs/build/c4f5d8e4.03449b51.js
  16. 0 1
      docs/build/d93367d8.cf55b2dd.js
  17. 0 33
      docs/build/docs/01-d-file/index.html
  18. 0 34
      docs/build/docs/01-u-overview/index.html
  19. 0 33
      docs/build/docs/02-u-download-install/index.html
  20. 0 33
      docs/build/docs/03-u-getting-started/index.html
  21. 0 49
      docs/build/docs/04-u-workflow/index.html
  22. 0 43
      docs/build/docs/05-u-extending-tool/index.html
  23. 0 33
      docs/build/docs/06-u-feeback-contribute/index.html
  24. 0 1
      docs/build/eabdd970.f5332d23.js
  25. 0 1
      docs/build/eb9c1144.9d17f635.js
  26. 0 1
      docs/build/fad47ae7.e1acda87.js
  27. 0 1
      docs/build/img/analytics-24px.svg
  28. 0 1
      docs/build/img/bolt-24px.svg
  29. 0 1
      docs/build/img/done_all-24px.svg
  30. 0 1
      docs/build/img/extension-24px.svg
  31. BIN
      docs/build/img/favicon.png
  32. 0 1
      docs/build/img/perm_data_setting-24px.svg
  33. 0 1
      docs/build/img/speed-24px.svg
  34. 0 170
      docs/build/img/undraw_docusaurus_mountain.svg
  35. 0 169
      docs/build/img/undraw_docusaurus_react.svg
  36. 0 1
      docs/build/img/undraw_docusaurus_tree.svg
  37. 0 25
      docs/build/index.html
  38. 0 2
      docs/build/main.dec5cf15.js
  39. 0 44
      docs/build/main.dec5cf15.js.LICENSE.txt
  40. 0 1
      docs/build/runtime~main.573a18a1.js
  41. 0 1
      docs/build/sitemap.xml
  42. 0 1
      docs/build/styles.6dd5a546.css
  43. 0 1
      docs/build/styles.ea629c45.js

+ 46 - 0
.github/workflows/gh-pages.yml

@@ -0,0 +1,46 @@
+# .github/workflows/deploy.yml
+
+name: github pages
+
+on:
+  push:
+    branches:
+      - master
+    paths:
+      - '.github/workflows/gh-pages.yml'
+      - 'docs/**'
+
+jobs:
+  deploy:
+    runs-on: ubuntu-18.04
+    defaults:
+      run:
+        working-directory: docs
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Setup Node
+        uses: actions/setup-node@v2.1.2
+        with:
+          node-version: '12.x'
+
+      - name: Get yarn cache
+        id: yarn-cache
+        run: echo "::set-output name=dir::$(yarn cache dir)"
+
+      - name: Cache dependencies
+        uses: actions/cache@v2
+        with:
+          path: ${{ steps.yarn-cache.outputs.dir }}
+          key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
+          restore-keys: |
+            ${{ runner.os }}-website-
+
+      - run: yarn install --frozen-lockfile
+      - run: yarn build
+
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v3
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          publish_dir: ./docs/build

+ 1 - 1
docs/.gitignore

@@ -2,7 +2,7 @@
 /node_modules
 
 # Production
-# /build
+/build
 
 # Generated files
 .docusaurus

+ 0 - 0
docs/build/.nojekyll


File diff suppressed because it is too large
+ 0 - 1
docs/build/1.8e9e26ef.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/15.e1814611.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/16.948745f1.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/17896441.3fa91858.js


File diff suppressed because it is too large
+ 0 - 2
docs/build/2.a6407783.js


+ 0 - 5
docs/build/2.a6407783.js.LICENSE.txt

@@ -1,5 +0,0 @@
-/*!
-  Copyright (c) 2017 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/

File diff suppressed because it is too large
+ 0 - 1
docs/build/20ac7829.ea3a7788.js


File diff suppressed because it is too large
+ 0 - 19
docs/build/404.html


File diff suppressed because it is too large
+ 0 - 1
docs/build/48626f7a.53955b96.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/4b2d0e04.9fc2b3a0.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/4f6c1b00.2a639a1d.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/c4f5d8e4.03449b51.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/d93367d8.cf55b2dd.js


File diff suppressed because it is too large
+ 0 - 33
docs/build/docs/01-d-file/index.html


File diff suppressed because it is too large
+ 0 - 34
docs/build/docs/01-u-overview/index.html


File diff suppressed because it is too large
+ 0 - 33
docs/build/docs/02-u-download-install/index.html


File diff suppressed because it is too large
+ 0 - 33
docs/build/docs/03-u-getting-started/index.html


File diff suppressed because it is too large
+ 0 - 49
docs/build/docs/04-u-workflow/index.html


File diff suppressed because it is too large
+ 0 - 43
docs/build/docs/05-u-extending-tool/index.html


File diff suppressed because it is too large
+ 0 - 33
docs/build/docs/06-u-feeback-contribute/index.html


File diff suppressed because it is too large
+ 0 - 1
docs/build/eabdd970.f5332d23.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/eb9c1144.9d17f635.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/fad47ae7.e1acda87.js


+ 0 - 1
docs/build/img/analytics-24px.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/><g><path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M19,19H5V5h14V19z"/><rect height="5" width="2" x="7" y="12"/><rect height="10" width="2" x="15" y="7"/><rect height="3" width="2" x="11" y="14"/><rect height="2" width="2" x="11" y="10"/></g></g></svg>

+ 0 - 1
docs/build/img/bolt-24px.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/></g><g><path d="M11,21h-1l1-7H7.5c-0.88,0-0.33-0.75-0.31-0.78C8.48,10.94,10.42,7.54,13.01,3h1l-1,7h3.51c0.4,0,0.62,0.19,0.4,0.66 C12.97,17.55,11,21,11,21z"/></g></svg>

+ 0 - 1
docs/build/img/done_all-24px.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>

File diff suppressed because it is too large
+ 0 - 1
docs/build/img/extension-24px.svg


BIN
docs/build/img/favicon.png


File diff suppressed because it is too large
+ 0 - 1
docs/build/img/perm_data_setting-24px.svg


+ 0 - 1
docs/build/img/speed-24px.svg

@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M20.38 8.57l-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44z"/><path d="M10.59 15.41a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"/></svg>

File diff suppressed because it is too large
+ 0 - 170
docs/build/img/undraw_docusaurus_mountain.svg


File diff suppressed because it is too large
+ 0 - 169
docs/build/img/undraw_docusaurus_react.svg


File diff suppressed because it is too large
+ 0 - 1
docs/build/img/undraw_docusaurus_tree.svg


File diff suppressed because it is too large
+ 0 - 25
docs/build/index.html


File diff suppressed because it is too large
+ 0 - 2
docs/build/main.dec5cf15.js


+ 0 - 44
docs/build/main.dec5cf15.js.LICENSE.txt

@@ -1,44 +0,0 @@
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
-/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */
-
-/** @license React v0.19.1
- * scheduler.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/** @license React v16.13.1
- * react-dom.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/** @license React v16.13.1
- * react.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */

File diff suppressed because it is too large
+ 0 - 1
docs/build/runtime~main.573a18a1.js


File diff suppressed because it is too large
+ 0 - 1
docs/build/sitemap.xml


File diff suppressed because it is too large
+ 0 - 1
docs/build/styles.6dd5a546.css


File diff suppressed because it is too large
+ 0 - 1
docs/build/styles.ea629c45.js