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

zhaijia pushed a commit to branch jiazhai-patch-1
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 3fe0657d9d61adf3a8f291cef07bde81e1b2b738
Author: Jia Zhai <[email protected]>
AuthorDate: Tue Apr 8 23:15:43 2025 +0800

    [website]: Update .asf.yaml to add "publish" configuration block
    
    Branch asf-site contains all the website content, but sometimes the website 
source checker is not reference to the latest version.
    
    At present, the latest commit of asf-site is 
[76edded](https://github.com/apache/bookkeeper/commit/76edded8a783d4dd76367c8ac3ed2f1973c39c17),
 but the website referenced to 
[8a3a8c2ee](https://github.com/apache/bookkeeper/commit/8a3a8c2eeba29b3003980be5f21b40c9150d6ae6)
    
    According the [asf infra 
doc](https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=Git+-+.asf.yaml+features),
 we need to add the publish configuration block to make sure the asf-site 
branch published well.
    ```
    Note: although publishing the asf-site branch used to work without 
.asf.yaml being present, since May 2021 that file MUST be present at the root 
of the branch you wish to publish. for everything (including soft purging the 
CDN cache on updates) to work correctly.
    ```
---
 .asf.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index b1fdee64bd..2ed1165bd2 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -80,6 +80,9 @@ github:
     branch-4.15: {}
     branch-4.16: {}
 
+publish:
+  whoami: asf-site
+
 notifications:
   commits:      [email protected]
   issues:       [email protected]

Reply via email to