Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Change GH token env to MDBOOK_GH_PROJECT_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Aug 24, 2023
1 parent 1f1d97a commit aaa8049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type GitHub struct {

func New() *GitHub {
src := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: os.Getenv("GITHUB_TOKEN")},
&oauth2.Token{AccessToken: os.Getenv("MDBOOK_GH_PROJECT_TOKEN")},
)
httpClient := oauth2.NewClient(context.Background(), src)

Expand Down

0 comments on commit aaa8049

Please sign in to comment.