ci: trigger pipeline on manual release publication
Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
parent
483819e423
commit
b8b839778c
4
.github/workflows/Deploy-docker.yml
vendored
4
.github/workflows/Deploy-docker.yml
vendored
@ -6,6 +6,8 @@ on:
|
||||
tags: [ "v*" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
release:
|
||||
types: [ "published" ]
|
||||
|
||||
jobs:
|
||||
|
||||
@ -36,7 +38,7 @@ jobs:
|
||||
run: docker push gitea.kleinsense.nl/dariusklein/klein_todo:latest
|
||||
|
||||
- name: Create Release and Upload Binaries
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'release'
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user