From b01edeb5aaca55c5cae0dd8a5418f2af61ea688b Mon Sep 17 00:00:00 2001 From: ombi-bot <51722903+ombi-bot@users.noreply.github.com> Date: Fri, 5 Feb 2021 22:01:19 +0000 Subject: [PATCH] Actually fixed the apt trigger --- .azuredevops/pipelines/publish-job.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azuredevops/pipelines/publish-job.yml b/.azuredevops/pipelines/publish-job.yml index a31d347b1..f7f2d4605 100644 --- a/.azuredevops/pipelines/publish-job.yml +++ b/.azuredevops/pipelines/publish-job.yml @@ -105,13 +105,13 @@ stages: targetType: 'inline' script: | $body = @{ - "ref"="master" + "ref"="main" "inputs"= @{"version"= "$(gitTag)"} } | ConvertTo-Json $header = @{ "Accept"="application/vnd.github.v3+json" - "Authorization"="${env:APTPAT}" + "Authorization"="Bearer ${env:APTPAT}" } Invoke-RestMethod -Uri "https://api.github.com/repos/Ombi-app/Ombi.Apt/actions/workflows/build-deb.yml/dispatches" -Method 'Post' -Body $body -Headers $header \ No newline at end of file