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

suyanhanx pushed a commit to branch fix-website-root-deploy
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit ea35273f9e603417f23748726a42af94ed1d7afe
Author: suyanhanx <[email protected]>
AuthorDate: Mon Jun 1 11:27:56 2026 +0800

    fix(ci): keep website root deployment on main only
---
 .github/workflows/docs.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index dd28ca715..443990dbe 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -577,7 +577,8 @@ jobs:
 
       - name: Deploy to gh-pages
         uses: peaceiris/[email protected]
-        if: ${{ (github.event_name == 'push' && github.ref_name == 'main') || 
(startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc')) }}
+        # Keep the public root site pinned to main; tag builds are published 
below.
+        if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: website/build

Reply via email to