diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 01425fef0c..7be8c2fbf5 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,4 +19,4 @@ jobs: dotnet-version: 7.x.x - name: Build Installers - run: ./build.ps1 build-installers ${{ secrets.ADAM_BUILD_TOKEN }} ${{ github.run_id }} + run: ./build.ps1 build-installers ${{ secrets.GITHUB_TOKEN }} ${{ github.run_id }} diff --git a/Build/Github.cs b/Build/Github.cs index 993d6fe0ec..c0ad7bff85 100644 --- a/Build/Github.cs +++ b/Build/Github.cs @@ -23,7 +23,7 @@ public static async Task BuildInstallers(string token, string runId) RequestUri = new Uri("https://api.github.com/repos/specklesystems/connector-installers/dispatches"), Headers = { - Authorization = new AuthenticationHeaderValue("Bearer", token), + Authorization = new AuthenticationHeaderValue("Token", token), UserAgent = { new ProductInfoHeaderValue("Speckle.build", "3.0.0") } }, Content = content