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

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 30d733f5732 fix repo name setting
30d733f5732 is described below

commit 30d733f57324f69aa90b48833d29cae24e375c7e
Author: tison <[email protected]>
AuthorDate: Sat Dec 3 11:04:33 2022 +0800

    fix repo name setting
    
    Signed-off-by: tison <[email protected]>
---
 tools/pytools/bin/site-updater.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pytools/bin/site-updater.py 
b/tools/pytools/bin/site-updater.py
index 19a93e40dad..b39ea89db46 100755
--- a/tools/pytools/bin/site-updater.py
+++ b/tools/pytools/bin/site-updater.py
@@ -45,7 +45,7 @@ def _should_push(mode: Mode) -> bool:
             event = os.getenv('GITHUB_EVENT_NAME')
             print(f'repo={repo}, event={event}')
 
-            result = (repo is not None) and (repo == 'apache/pulsar')
+            result = (repo is not None) and (repo == 'apache/pulsar-site')
             result = result and (event is not None) and (event != 
'pull_request')
             return result
 

Reply via email to