mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 03:15:17 +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 {
|
if deploy == false {
|
||||||
s.Publish = nil
|
s.Deploy = nil
|
||||||
}
|
}
|
||||||
if publish == false {
|
if publish == false {
|
||||||
s.Deploy = nil
|
s.Publish = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the repository root directory
|
// get the repository root directory
|
||||||
|
Reference in New Issue
Block a user