mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-09 17:15:31 +00:00
Add WOODPECKER_ vars to cli main
This commit is contained in:
parent
6ec3ec4c6e
commit
143d2ffb78
1 changed files with 3 additions and 3 deletions
|
@ -31,18 +31,18 @@ func main() {
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "t, token",
|
Name: "t, token",
|
||||||
Usage: "server auth token",
|
Usage: "server auth token",
|
||||||
EnvVar: "DRONE_TOKEN",
|
EnvVar: "DRONE_TOKEN,WOODPECKER_TOKEN",
|
||||||
},
|
},
|
||||||
|
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "s, server",
|
Name: "s, server",
|
||||||
Usage: "server address",
|
Usage: "server address",
|
||||||
EnvVar: "DRONE_SERVER",
|
EnvVar: "DRONE_SERVER,WOODPECKER_SERVER",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "skip-verify",
|
Name: "skip-verify",
|
||||||
Usage: "skip ssl verfification",
|
Usage: "skip ssl verfification",
|
||||||
EnvVar: "DRONE_SKIP_VERIFY",
|
EnvVar: "DRONE_SKIP_VERIFY,WOODPECKER_SKIP_VERIFY",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
|
|
Loading…
Reference in a new issue