mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Update ci-build.yaml for Azure Pipelines
This commit is contained in:
parent
37e0bb3efb
commit
94f0c96df2
1 changed files with 7 additions and 7 deletions
|
@ -27,6 +27,13 @@ pool:
|
||||||
vmImage: 'ubuntu-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- task: PowerShell@2
|
||||||
|
inputs:
|
||||||
|
targetType: 'inline'
|
||||||
|
script: |
|
||||||
|
$response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)"
|
||||||
|
Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response"
|
||||||
|
|
||||||
- task: Yarn@3
|
- task: Yarn@3
|
||||||
displayName: 'Install UI Dependancies'
|
displayName: 'Install UI Dependancies'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -189,13 +196,6 @@ steps:
|
||||||
archiveFile: '$(Build.ArtifactStagingDirectory)/linux-arm64-$(Build.BuildId).tar.gz'
|
archiveFile: '$(Build.ArtifactStagingDirectory)/linux-arm64-$(Build.BuildId).tar.gz'
|
||||||
replaceExistingArchive: true
|
replaceExistingArchive: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
inputs:
|
|
||||||
targetType: 'inline'
|
|
||||||
script: |
|
|
||||||
$response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)",
|
|
||||||
Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response"
|
|
||||||
|
|
||||||
- task: GitHubRelease@1
|
- task: GitHubRelease@1
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: 'github.com_tidusjar'
|
gitHubConnection: 'github.com_tidusjar'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue