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

PsiACE pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new f3b313b53 fix(ci): keep website root deployment on main only (#7654)
f3b313b53 is described below

commit f3b313b53c1ffa01c8c20c009576afc5abde1e00
Author: Suyan <[email protected]>
AuthorDate: Mon Jun 1 13:51:21 2026 +0800

    fix(ci): keep website root deployment on main only (#7654)
---
 .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