Skip to content

Commit

Permalink
Actually fixed the apt trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ombi-bot committed Feb 5, 2021
1 parent 4094cd7 commit b01edeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azuredevops/pipelines/publish-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b01edeb

Please sign in to comment.