mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
fix --deploy and --publish flags to drone build
This commit is contained in:
+2
-2
@@ -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