diff --git a/plugins/gitea/index.py b/plugins/gitea/index.py index 4b9b358da..a95f037f5 100755 --- a/plugins/gitea/index.py +++ b/plugins/gitea/index.py @@ -512,7 +512,7 @@ def checkRepoListIsHasScript(data): path = getRootPath() for x in range(len(data)): name = data[x]['name'] + '/' + data[x]['repo'] + '.git' - path_tmp = path + '/' + name + '/custom_hooks/post-receive' + path_tmp = path + '/' + name + '/custom_hooks/commit' if os.path.exists(path_tmp): data[x]['has_hook'] = True else: