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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to