Apply changes from production
This commit is contained in:
parent
33a79f14b7
commit
8e77a9a676
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ def gogs_payload(required):
|
|||
@gogs_payload(['repository/clone_url'])
|
||||
def view_root(payload, hook):
|
||||
clone_url = payload['repository']['clone_url']
|
||||
if 'clone_url' in hook:
|
||||
clone_url = hook['clone_url']
|
||||
|
||||
try:
|
||||
update_repo(hook, clone_url)
|
||||
|
|
Loading…
Reference in a new issue