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*" ]
|
tags: [ "v*" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
release:
|
||||||
|
types: [ "published" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ jobs:
|
|||||||
run: docker push gitea.kleinsense.nl/dariusklein/klein_todo:latest
|
run: docker push gitea.kleinsense.nl/dariusklein/klein_todo:latest
|
||||||
|
|
||||||
- name: Create Release and Upload Binaries
|
- 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
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user