Add deploy on Azure pipeline
This commit is contained in:
parent
2618708621
commit
3e77c8a97a
20
ci/deploy.yml
Normal file
20
ci/deploy.yml
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user