Expose GitHub machine user options.

This commit is contained in:
John Chadwick 2016-08-01 13:54:47 -04:00
parent c91623c2e6
commit f2b418e9dd

View file

@ -124,6 +124,16 @@ var serverCmd = cli.Command{
"read:org",
},
},
cli.StringFlag{
EnvVar: "DRONE_GITHUB_GIT_USERNAME",
Name: "github-git-username",
Usage: "github machine user username",
},
cli.StringFlag{
EnvVar: "DRONE_GITHUB_GIT_PASSWORD",
Name: "github-git-password",
Usage: "github machine user password",
},
cli.BoolTFlag{
EnvVar: "DRONE_GITHUB_MERGE_REF",
Name: "github-merge-ref",