Add deploy on Azure pipeline

This commit is contained in:
Federico Terzi 2019-09-21 12:07:27 +02:00
parent 2618708621
commit 3e77c8a97a

20
ci/deploy.yml Normal file
View File

@ -0,0 +1,20 @@
parameters:
github:
isPreRelease: false
repositoryName: '$(Build.Repository.Name)'
dependsOn: []
displayName: "Release to github"
jobs:
- task: GitHubRelease@0
displayName: Create GitHub release
inputs:
gitHubConnection: ${{ parameters.github.gitHubConnection }}
tagSource: manual
title: '$(build.my_tag) - $(build.date)'
tag: '$(build.my_tag)'
assetUploadMode: replace
action: edit
assets: 'espanso-*.gz'
repositoryName: ${{ parameters.github.repositoryName }}
isPreRelease: ${{ parameters.github.isPreRelease }}