diff --git a/main.go b/main.go index 72deb45..621d4a8 100644 --- a/main.go +++ b/main.go @@ -44,9 +44,10 @@ func main() { // data structure data := struct { - Repo drone.Repo `json:"repo"` - Build drone.Build `json:"build"` - }{repo, build} + System drone.System `json:"system"` + Repo drone.Repo `json:"repo"` + Build drone.Build `json:"build"` + }{sys, repo, build} // creates the payload. by default the payload // is the build details in json format, but a custom