mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 22:46:33 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue