mirror of
https://github.com/go-gitea/gitea
synced 2025-07-17 15:58:36 +00:00
add actions for http push
This commit is contained in:
9
serve.go
9
serve.go
@@ -189,4 +189,13 @@ func runServ(k *cli.Context) {
|
||||
println("execute command error:", err.Error())
|
||||
qlog.Fatal("execute command error: " + err.Error())
|
||||
}
|
||||
|
||||
//refName := os.Getenv("refName")
|
||||
//oldCommitId := os.Getenv("oldCommitId")
|
||||
//newCommitId := os.Getenv("newCommitId")
|
||||
|
||||
//qlog.Error("get envs:", refName, oldCommitId, newCommitId)
|
||||
|
||||
// update
|
||||
//models.Update(refName, oldCommitId, newCommitId, repoUserName, repoName, user.Id)
|
||||
}
|
||||
|
Reference in New Issue
Block a user