add actions for http push
This commit is contained in:
parent
8faa0dbcd7
commit
db39e58a13
4 changed files with 141 additions and 104 deletions
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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue