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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1c3618a4454 Add master version documentation
1c3618a4454 is described below

commit 1c3618a4454efbf39d85fdc135a0d5afc4e1eec7
Author: jiafeng.zhang <zhang...@gmail.com>
AuthorDate: Sat Aug 13 21:24:12 2022 +0800

    Add master version documentation
    
    Add master version documentation
---
 .github/workflows/manual-deploy-website.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.github/workflows/manual-deploy-website.yml 
b/.github/workflows/manual-deploy-website.yml
index fc358d10bce..08cb5b79187 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -22,6 +22,18 @@ jobs:
 
     - name: Build
       run: |
+        git clone https://github.com/apache/doris.git
+        cp -R doris/docs/sidebarsCommunity.json .
+        mkdir versioned_docs/version-dev/
+        cp -R doris/docs/en/docs/* versioned_docs/version-dev/
+        cp -R doris/docs/sidebars.json 
versioned_sidebars/version-dev-sidebars.json
+        mkdir i18n/zh-CN/docusaurus-plugin-content-docs/dev
+        cp -R doris/docs/zh-CN/docs/* 
i18n/zh-CN/docusaurus-plugin-content-docs/dev/
+        cp -R doris/docs/dev.json i18n/zh-CN/docusaurus-plugin-content-docs/
+        cp -R doris/docs/en/community .
+        cp -R doris/docs/zh-CN/community/* 
i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
+
+        cp -R doris/docs/images/* static/images/
         npm install -g yarn
         yarn cache clean
         yarn && yarn build
@@ -39,6 +51,9 @@ jobs:
         rm -rf build/
         rm -rf .docusaurus
         rm -rf node_modules
+        rm -rf doris
+        rm -rf versioned_docs/version-dev/
+        rm -rf i18n/zh-CN/docusaurus-plugin-content-docs/dev/
         git config user.name "github-actions[bot]"
         git config user.email "github-actions[bot]@users.noreply.github.com"
         git add .


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

Reply via email to