From 827ec1735f68bd8d0e86ffbb0808b15b005e0d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Lindstr=C3=B6m?= Date: Tue, 11 Feb 2014 19:28:50 +0000 Subject: [PATCH] add git deployment into deployment list Adds Git to the deployment list in deployment.go to actually be used by drone. --- pkg/plugin/deploy/deployment.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/plugin/deploy/deployment.go b/pkg/plugin/deploy/deployment.go index 71e79c718..0181586c4 100644 --- a/pkg/plugin/deploy/deployment.go +++ b/pkg/plugin/deploy/deployment.go @@ -12,6 +12,7 @@ type Deploy struct { CloudControl *CloudControl `yaml:"cloudcontrol,omitempty"` CloudFoundry *CloudFoundry `yaml:"cloudfoundry,omitempty"` EngineYard *EngineYard `yaml:"engineyard,omitempty"` + Git *Git `yaml:"git,omitempty"` Heroku *Heroku `yaml:"heroku,omitempty"` Nodejitsu *Nodejitsu `yaml:"nodejitsu,omitempty"` Openshift *Openshift `yaml:"openshift,omitempty"` @@ -30,6 +31,9 @@ func (d *Deploy) Write(f *buildfile.Buildfile) { if d.EngineYard != nil { d.EngineYard.Write(f) } + if d.Git != nil { + d.Git.Write(f) + } if d.Heroku != nil { d.Heroku.Write(f) }