mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 15:00:07 +00:00
fix --deploy and --publish flags to drone build
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user