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/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new dec4cdf6e784 [opt] enable force_orphan to avoid asf-site too large 
(#539)
dec4cdf6e784 is described below

commit dec4cdf6e78474d7d54fd95067f210af545d958a
Author: Mingyu Chen <morning...@163.com>
AuthorDate: Thu Apr 11 09:55:26 2024 +0800

    [opt] enable force_orphan to avoid asf-site too large (#539)
---
 .github/workflows/cron-deploy-website.yml   | 2 ++
 .github/workflows/manual-deploy-website.yml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/cron-deploy-website.yml 
b/.github/workflows/cron-deploy-website.yml
index be908ecd36cb..e0ec3adf81bf 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -73,6 +73,7 @@ jobs:
                   github_token: ${{ github.token }}
                   publish_branch: asf-site
                   publish_dir: ./build
+                  force_orphan: true
                   destination_dir: ./
                   user_name: 'github-actions[bot]'
                   user_email: 'github-actions[bot]@users.noreply.github.com'
@@ -85,6 +86,7 @@ jobs:
                   github_token: ${{ secrets.GITHUB_TOKEN }}
                   publish_branch: asf-site
                   publish_dir: ./build
+                  force_orphan: true
                   destination_dir: ${{ github.event.inputs.branch }}
                   user_name: 'github-actions[bot]'
                   user_email: 'github-actions[bot]@users.noreply.github.com'
diff --git a/.github/workflows/manual-deploy-website.yml 
b/.github/workflows/manual-deploy-website.yml
index 55eccfbbdb38..be1ad2f517bd 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -65,6 +65,7 @@ jobs:
               with:
                   github_token: ${{ github.token }}
                   publish_branch: asf-site
+                  force_orphan: true
                   publish_dir: ./build
                   destination_dir: ./
                   user_name: 'github-actions[bot]'
@@ -77,6 +78,7 @@ jobs:
               with:
                   github_token: ${{ github.token }}
                   publish_branch: asf-site
+                  force_orphan: true
                   publish_dir: ./build
                   destination_dir: ${{ github.event.inputs.branch }}
                   user_name: 'github-actions[bot]'


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

Reply via email to