feat(ops/sync-gcsr): Log successful build triggers

This commit is contained in:
Vincent Ambo 2020-01-18 15:49:12 +00:00
parent 61830ebc5b
commit 526b9c4572

View file

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