Merge pull request #1738 from johnwchadwick/bugfix/github-opts

Expose GitHub machine user options.
This commit is contained in:
Brad Rydzewski 2016-08-01 12:52:11 -07:00 committed by GitHub
commit e2a80e7083

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",