You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/12/25 02:11:13 UTC

[incubator-doris-website] branch master updated: Update manual-deploy-website.yml

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e1aa6a5  Update manual-deploy-website.yml
e1aa6a5 is described below

commit e1aa6a591aab26325d265982776adf553bcad007
Author: morningman <ch...@baidu.com>
AuthorDate: Sat Dec 25 10:11:06 2021 +0800

    Update manual-deploy-website.yml
---
 .github/workflows/manual-deploy-website.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/manual-deploy-website.yml b/.github/workflows/manual-deploy-website.yml
index 0ebb7eb..5fa09d6 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -28,7 +28,9 @@ jobs:
         cp -R blogs/zh-CN/ incubator-doris/docs/zh-CN/article/articles/
         cp -R blogs/en/ incubator-doris/docs/en/article/articles/
         cp -R blogs/images/blogs/ incubator-doris/docs/.vuepress/public/images/
-        cd incubator-doris/docs && npm install && npm run build
+        cd incubator-doris/docs
+        find ./ -name "*.md" -exec sed -i -e 's/!\[\(.*\)\][(]\(.*\)[)]/<img \:src=\"$withBase\('\''\2'\''\)\" alt=\"\1\">/g' {} \;
+        npm install && npm run build
         touch .vuepress/dist/.dummy
         ls .vuepress/dist/
         export DORIS_COMMIT=`git rev-parse HEAD`

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org