dubbo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject [dubbo-website] 10/38: Update deploy.yml
Date Wed, 21 Oct 2020 10:11:47 GMT
This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit b5c2a9d5a1110a9a11e1725c8688dad42a76d007
Author: ken.lj <ken.lj.hz@gmail.com>
AuthorDate: Thu Aug 13 14:10:10 2020 +0800

    Update deploy.yml
---
 .github/workflows/deploy.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 86f2712..4c09588 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -14,13 +14,13 @@ jobs:
         with:
           python-version: 3.x
       - name: Build
-        - run: |
-              pip install \
-                  mkdocs-material \
-                  mkdocs-minify-plugin>=0.3 \
-                  mkdocs-redirects>=1.0
-              mkdocs build -f mkdocs-en.yml -d ./output/en-us && mkdocs build -f
mkdocs_zh.yml -d ./output/zh-cn
-              mkdir deploy-dist && cp -R img ./output/zh-cn/ && cp -R img
./output/en-us/ && cp -R ./output/* deploy-dist/
+        run: |
+          pip install \
+              mkdocs-material \
+              mkdocs-minify-plugin>=0.3 \
+              mkdocs-redirects>=1.0
+          mkdocs build -f mkdocs-en.yml -d ./output/en-us && mkdocs build -f mkdocs_zh.yml
-d ./output/zh-cn
+          mkdir deploy-dist && cp -R img ./output/zh-cn/ && cp -R img ./output/en-us/
&& cp -R ./output/* deploy-dist/
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v2.4.0
         env:
@@ -28,4 +28,4 @@ jobs:
           PUBLISH_BRANCH: asf-site
           PUBLISH_DIR: ./deploy-dist
         with:
-          keepFiles: true
\ No newline at end of file
+          keepFiles: true


Mime
View raw message