Commit c87bb39a authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents f6359332 f98e0367
......@@ -39,8 +39,9 @@ def github_hook(request):
data['repository']['owner']['name'],
data['repository']['name'],
)
logger.info('received GitHub notification on repository %s', repo)
for s in SubProject.objects.filter(repo = repo):
branch = data['ref'].split('/')[-1]
logger.info('received GitHub notification on repository %s, branch %s', repo, branch)
for s in SubProject.objects.filter(repo = repo, branch = branch):
logger.info('GitHub notification will update %s', s)
s.update_branch()
s.create_translations()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment