Skip to content

Commit

Permalink
Merge pull request #1493 from urfave/fix-mkdocs-remote
Browse files Browse the repository at this point in the history
Accept the `MKDOCS_REMOTE_GITHUB_TOKEN` var as intended
  • Loading branch information
meatballhat committed Sep 12, 2022
2 parents 69f4122 + 9eea32a commit 9120e06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/build/build.go
Expand Up @@ -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,
},
},
},
{
Expand Down

0 comments on commit 9120e06

Please sign in to comment.