fix --deploy and --publish flags to drone build

This commit is contained in:
Ke Zhu 2014-12-07 10:45:14 -05:00
parent 8f6a031c6a
commit a7df1e59e6

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