Merge pull request #745 from shawnzhu/deploy

`drone build --deploy` doesn't work as expected
This commit is contained in:
Brad Rydzewski 2014-12-07 16:22:57 -08:00
commit 0504c8e353

View file

@ -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