about summary refs log tree commit diff
path: root/ops/sync-gcsr/main.go
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-18T15·49+0000
committerVincent Ambo <Vincent Ambo>2020-01-18T15·49+0000
commit526b9c45723e8e5dea2510408b28785ca0652bae (patch)
tree5b9c16b469a3ce73fcc9d67e4ebb47f343e20627 /ops/sync-gcsr/main.go
parent61830ebc5bfbfedee9e3fb37a5d89f530595dca0 (diff)
feat(ops/sync-gcsr): Log successful build triggers r/409
Diffstat (limited to '')
-rw-r--r--ops/sync-gcsr/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/sync-gcsr/main.go b/ops/sync-gcsr/main.go
index 4841b62619..7c60df9178 100644
--- a/ops/sync-gcsr/main.go
+++ b/ops/sync-gcsr/main.go
@@ -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)
 	}
 }