Refactoring of hook functionality & bootsrap system hooks
This commit is contained in:
parent
72a571724d
commit
65dc68b35c
9 changed files with 24 additions and 14 deletions
|
@ -35,7 +35,7 @@ module GitPush
|
|||
|
||||
data = post_receive_data(oldrev, newrev, ref, user)
|
||||
|
||||
web_hooks.each { |web_hook| web_hook.execute(data) }
|
||||
hooks.each { |web_hook| web_hook.execute(data) }
|
||||
end
|
||||
|
||||
def post_receive_data(oldrev, newrev, ref, user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue