You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by za...@apache.org on 2020/02/18 06:08:58 UTC

[incubator-tubemq-website] branch master updated: [fix] the docs/img do not cp 2 zh-en/en-us dir with build command

This is an automated email from the ASF dual-hosted git repository.

zakwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f5af798  [fix] the docs/img do not cp 2 zh-en/en-us dir with build command
f5af798 is described below

commit f5af798a32da77d5996ae3078b5880355a33691d
Author: zakwu <za...@tencent.com>
AuthorDate: Tue Feb 18 14:08:46 2020 +0800

    [fix] the docs/img do not cp 2 zh-en/en-us dir with build command
---
 .github/workflows/deploy.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 21a164f..45309be 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -15,7 +15,7 @@ jobs:
         node-version: 10.16.0
     - name: Build
       run: |
-        mkdir dist && npm install && npm i docsite && node_modules/docsite/bin/docsite.js build && cp -r 404.html .asf.yaml index.html en-us zh-cn build img dist/
+        mkdir dist && npm install && npm i docsite && node_modules/docsite/bin/docsite.js build && cp -r docs/en-us/img en-us/docs/img && cp -r docs/zh-en/img zh-en/docs/img && cp -r 404.html .asf.yaml index.html en-us zh-cn build img dist/
     - name: Deploy
       uses: peaceiris/actions-gh-pages@v2.4.0
       env: