You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ps...@apache.org on 2026/06/01 05:51:28 UTC

(opendal) branch main updated: fix(ci): keep website root deployment on main only (#7654)

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 <su...@gmail.com>
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/actions-gh-pages@v4.0.0
-        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