Skip to content

Commit

Permalink
fix(build): make GH token available to build action (ionic-team#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
camwiegert authored Mar 15, 2019
1 parent d27ec40 commit 457da1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ action "Build" {
uses = "actions/npm@de7a3705a9510ee12702e124482fad6af249991b"
needs = ["Lint"]
args = "run build"
secrets = ["GITHUB_TOKEN"]
}
2 changes: 1 addition & 1 deletion scripts/build-pages/page-types/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const getGitHubData = async (filePath: string) => {
hostname: 'api.github.com',
pathname: 'repos/ionic-team/ionic-docs/commits',
query: {
access_token: process.env.GITHUB_API_TOKEN,
access_token: process.env.GITHUB_TOKEN,
since,
path
}
Expand Down

0 comments on commit 457da1d

Please sign in to comment.