feat(ops/sync-gcsr): Log successful build triggers
This commit is contained in:
parent
61830ebc5b
commit
526b9c4572
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ func triggerBuild(commit string) {
|
|||
if resp.StatusCode != 200 {
|
||||
respBody, err := ioutil.ReadAll(resp.Body)
|
||||
log.Printf("received non-success response from builds.sr.ht: %s (%v)[%s]", respBody, resp.Status, err)
|
||||
} else {
|
||||
log.Println("triggered builds.sr.ht job for commit", commit)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue