add DRONE_ environment variable
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
d8ba908538
commit
0fb22dbadc
@ -201,7 +201,7 @@ func main() {
|
||||
cli.StringFlag{
|
||||
Name: "default.branch",
|
||||
Usage: "defualt latest branch",
|
||||
EnvVar: "PLUGIN_DEFALUT_BRANCH",
|
||||
EnvVar: "DRONE_REPO_BRANCH,PLUGIN_DEFALUT_BRANCH",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user