mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
Update projects on git commit events
This commit is contained in:
parent
841af67399
commit
caa317cf5e
|
@ -88,6 +88,7 @@ def git_repo(repo_id):
|
|||
f"<a href='{pusher_url}'>{pusher_name}</a> pushed to " +
|
||||
f"<a href='{repo.url()}'>{repo_name}</a> git")
|
||||
|
||||
repo.project.updated = datetime.utcnow()
|
||||
db.session.add(event)
|
||||
db.session.commit()
|
||||
return "Thanks!"
|
||||
|
|
Loading…
Reference in New Issue