Accept the `MKDOCS_REMOTE_GITHUB_TOKEN` var as intended

main
Dan Buch 2 years ago
parent 9ed5a09fbb
commit 1c3ebfab32
Signed by: meatballhat
GPG Key ID: A12F782281063434

@ -113,7 +113,11 @@ func main() {
Name: "set-mkdocs-remote",
Action: SetMkdocsRemoteActionFunc,
Flags: []cli.Flag{
&cli.StringFlag{Name: "github-token", Required: true},
&cli.StringFlag{
Name: "github-token",
EnvVars: []string{"MKDOCS_REMOTE_GITHUB_TOKEN"},
Required: true,
},
},
},
{

Loading…
Cancel
Save