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 59a81c67a15 Revert "Generate PDF (#226)" (#227)
59a81c67a15 is described below

commit 59a81c67a155cddb23a79ed77a2b16b2acbc57be
Author: wangyongfeng <943155...@qq.com>
AuthorDate: Thu May 11 11:11:32 2023 +0800

    Revert "Generate PDF (#226)" (#227)
    
    This reverts commit 905bd78197f689b81eb02d5b4c078ba1911eb242.
---
 .github/workflows/cron-deploy-website.yml   | 18 +++++++++---------
 .github/workflows/manual-deploy-website.yml |  8 --------
 2 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/cron-deploy-website.yml 
b/.github/workflows/cron-deploy-website.yml
index 488ee91d3f9..27b642f351c 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -61,13 +61,13 @@ jobs:
         ls build
         export DORIS_COMMIT=`git rev-parse HEAD`
 
-    - name: Generate PDF
-      run: |
-        npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (English)" --outputPDFFilename="Apache Doris 
Docs (English).pdf" --tocOnlyH1=true
-        npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/zh-CN/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (中文)" --outputPDFFilename="Apache Doris Docs 
(中文).pdf" --tocOnlyH1=true
-        mkdir -p ./build/assets/files/
-        cp *.pdf ./build/assets/files/
-        ls ./build/assets/files/
+#     - name: Generate PDF
+#       run: |
+#         npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (English)" --outputPDFFilename="Apache Doris 
Docs (English).pdf" --tocOnlyH1=true
+#         npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/zh-CN/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (中文)" --outputPDFFilename="Apache Doris Docs 
(中文).pdf" --tocOnlyH1=true
+#         mkdir -p ./build/assets/files/
+#         cp *.pdf ./build/assets/files/
+#         ls ./build/assets/files/
 
     - name: Upload files to OSS
       uses: ./.github/actions/aliyun-oss-website-action
@@ -80,8 +80,8 @@ jobs:
           folder: build
           onlyUpload: true
           
-    # - name: Remove pdf
-    #   run: rm -rf ./build/assets/files/*.pdf
+    - name: Remove pdf
+      run: rm -rf ./build/assets/files/*.pdf
 
     - name: Deploy Website
       if: ${{ github.event.inputs.branch == 'master' }}
diff --git a/.github/workflows/manual-deploy-website.yml 
b/.github/workflows/manual-deploy-website.yml
index df25913d3b2..be0caa3f788 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -64,14 +64,6 @@ jobs:
         ls build
         export DORIS_COMMIT=`git rev-parse HEAD`
 
-    - name: Generate PDF
-      run: |
-        npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (English)" --outputPDFFilename="Apache Doris 
Docs (English).pdf" --tocOnlyH1=true
-        npx vitpress-generate-pdf 
--initialDocURLs="https://doris.apache.org/zh-CN/docs/dev/get-starting/"; 
--paginationSelector=".pagination-nav__link--next" --contentSelector="article" 
--coverImage="https://cdn.selectdb.com/static/doris_logo_512_4903556647.png"; 
--coverTitle="Apache Doris Docs (中文)" --outputPDFFilename="Apache Doris Docs 
(中文).pdf" --tocOnlyH1=true
-        mkdir -p ./build/assets/files/
-        cp *.pdf ./build/assets/files/
-        ls ./build/assets/files/
-
     - name: Upload files to OSS
       uses: ./.github/actions/aliyun-oss-website-action
       with:


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

Reply via email to