mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 20:25:57 +00:00
updated all deployments to include conditional logic
This commit is contained in:
@@ -96,7 +96,7 @@ func (b *Build) Write(f *buildfile.Buildfile, r *repo.Repo) {
|
||||
|
||||
// write deployment commands
|
||||
if b.Deploy != nil {
|
||||
b.Deploy.Write(f)
|
||||
b.Deploy.Write(f, r)
|
||||
}
|
||||
|
||||
// write exit value
|
||||
|
Reference in New Issue
Block a user