Accept the MKDOCS_REMOTE_GITHUB_TOKEN
var as intended
This commit is contained in:
parent
69f4122db9
commit
9eea32aacd
@ -113,7 +113,11 @@ func main() {
|
|||||||
Name: "set-mkdocs-remote",
|
Name: "set-mkdocs-remote",
|
||||||
Action: SetMkdocsRemoteActionFunc,
|
Action: SetMkdocsRemoteActionFunc,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.StringFlag{Name: "github-token", Required: true},
|
&cli.StringFlag{
|
||||||
|
Name: "github-token",
|
||||||
|
EnvVars: []string{"MKDOCS_REMOTE_GITHUB_TOKEN"},
|
||||||
|
Required: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user