Skip to content

Commit

Permalink
Accept the MKDOCS_REMOTE_GITHUB_TOKEN var as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Oct 3, 2022
1 parent 9ed5a09 commit 1c3ebfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/build/build.go
Original file line number Diff line number Diff line change
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 1c3ebfa

Please sign in to comment.