Skip to content

Commit

Permalink
use PAT?
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed May 14, 2024
1 parent cc46525 commit aa08e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_TOKEN: ${{ secrets.GITHUB_TOKEN }}
envkey_TOKEN: ${{ secrets.ADAM_BUILD_TOKEN }}
- name: Build Installers
env:
RUN_ID: ${{ github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion Build/Github.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static async Task BuildInstallers(string token, string runId)
var request = new HttpRequestMessage()
{
RequestUri = new Uri("https://api.github.com/repos/specklesystems/connector-installers/dispatches"),
Headers = { Authorization = new AuthenticationHeaderValue("Token", token) },
Headers = { Authorization = new AuthenticationHeaderValue("Bearer", token) },
Content = content
};
request.Headers.Add("X-GitHub-Api-Version", "2022-11-28");
Expand Down

0 comments on commit aa08e41

Please sign in to comment.