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/21 10:12:05 UTC

[dubbo-website] 28/38: clear output files before build

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 245056be327775da0af616abb22f6fec9c9ccd40
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Oct 15 10:11:09 2020 +0800

    clear output files before build
---
 .github/workflows/deploy.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 4b256d2..23cc275 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -20,6 +20,7 @@ jobs:
               mkdocs-minify-plugin>=0.3 \
               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/
       - name: Deploy