We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12b637 commit a4e3869Copy full SHA for a4e3869
Examples/SyncIssue.PSJekyll.ps1
@@ -30,7 +30,7 @@ if ($env:GitHubToken -and $githubEvent.Repository) {
30
) -join '&'
31
$issues =
32
Invoke-RestMethod -Uri "https://api.github.com/repos/$owner/$repo/issues?$queryString" -Headers @{
33
- "Authorization" = "token $GitHubToken"
+ "Authorization" = "token $env:GitHubToken"
34
}
35
foreach ($issue in $issues) {
36
$psJekyll.CurrentSite.Data = @{"issues/$($issue.number)" = $issue}
0 commit comments