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 2022/01/11 13:44:44 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 7513fb5  update manual-deploy-website.yml
7513fb5 is described below

commit 7513fb56d8542ae0566744af97c52c7cacd17c7e
Author: morningman <ch...@baidu.com>
AuthorDate: Tue Jan 11 21:44:28 2022 +0800

    update manual-deploy-website.yml
---
 .github/workflows/manual-deploy-website.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/manual-deploy-website.yml b/.github/workflows/manual-deploy-website.yml
index 8d3d82b..eaeeb55 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -29,7 +29,7 @@ jobs:
         cp -R blogs/images/blogs/ incubator-doris/docs/.vuepress/public/images/
         cd incubator-doris/
         git fetch
-        git checkout -b ${{ github.event.inputs.branch }} remotes/origin/${{ github.event.inputs.branch }}
+        if [ "${{ github.event.inputs.branch }}"x != "master"x ]; then git checkout -b ${{ github.event.inputs.branch }} remotes/origin/${{ github.event.inputs.branch }} fi
         cd docs/
         find ./ -name "*.md" -exec sed -i -e 's/!\[\(.*\)\][(]\(.*\)[)]/<img \:src=\"$withBase\('\''\2'\''\)\" alt=\"\1\">/g' {} \;
         sed -i 's/en\///g' .vuepress/config.js 

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