1
1
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:
Lunny Xiao
2014-04-11 10:27:13 +08:00
parent 8faa0dbcd7
commit db39e58a13
4 changed files with 141 additions and 104 deletions

View File

@@ -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)
}