mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Updated workflow to trigger the APT build
This commit is contained in:
parent
996219cdf9
commit
4094cd7231
1 changed files with 17 additions and 0 deletions
|
@ -98,3 +98,20 @@ stages:
|
||||||
isPreRelease: true
|
isPreRelease: true
|
||||||
changeLogCompareToRelease: 'lastNonDraftRelease'
|
changeLogCompareToRelease: 'lastNonDraftRelease'
|
||||||
changeLogType: 'commitBased'
|
changeLogType: 'commitBased'
|
||||||
|
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: "Trigger APT build"
|
||||||
|
inputs:
|
||||||
|
targetType: 'inline'
|
||||||
|
script: |
|
||||||
|
$body = @{
|
||||||
|
"ref"="master"
|
||||||
|
"inputs"= @{"version"= "$(gitTag)"}
|
||||||
|
} | ConvertTo-Json
|
||||||
|
|
||||||
|
$header = @{
|
||||||
|
"Accept"="application/vnd.github.v3+json"
|
||||||
|
"Authorization"="${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
|
Loading…
Add table
Add a link
Reference in a new issue