Merge pull request #745 from shawnzhu/deploy
`drone build --deploy` doesn't work as expected
This commit is contained in:
commit
0504c8e353
1 changed files with 2 additions and 2 deletions
|
@ -127,10 +127,10 @@ func run(path, identity, dockerhost, dockercert, dockerkey string, publish, depl
|
|||
}
|
||||
|
||||
if deploy == false {
|
||||
s.Publish = nil
|
||||
s.Deploy = nil
|
||||
}
|
||||
if publish == false {
|
||||
s.Deploy = nil
|
||||
s.Publish = nil
|
||||
}
|
||||
|
||||
// get the repository root directory
|
||||
|
|
Loading…
Reference in a new issue