mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
add git deployment into deployment list
Adds Git to the deployment list in deployment.go to actually be used by drone.
This commit is contained in:
parent
4d71643214
commit
827ec1735f
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user