You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/10/23 02:44:39 UTC
[dubbo-website] 02/12: change deploy directories
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 ddf36ffe2ad98bd14f8c83904efd500fde6dabb5
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Oct 22 16:11:50 2020 +0800
change deploy directories
---
.github/workflows/deploy.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 63c2eab..f4b073a 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -21,8 +21,8 @@ jobs:
mkdocs-redirects>=1.0
mkdocs --version
echo "removing previous static files from ./output" && rm -rf ./output
- 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/
+ 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: