mirror of
https://gitee.com/gitea/gitea
synced 2026-01-03 14:16:36 +08:00
#835: Realtime webhooks
This commit is contained in:
@@ -634,3 +634,7 @@ func GitHooksEditPost(ctx *middleware.Context) {
|
||||
}
|
||||
ctx.Redirect(ctx.Repo.RepoLink + "/settings/hooks/git")
|
||||
}
|
||||
|
||||
func TriggerHook(ctx *middleware.Context) {
|
||||
models.HookQueue.AddRepoID(ctx.Repo.Repository.Id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user