diff --git a/.github/workflows/Deploy-docker.yml b/.github/workflows/Deploy-docker.yml index efa28dc..9c833f7 100644 --- a/.github/workflows/Deploy-docker.yml +++ b/.github/workflows/Deploy-docker.yml @@ -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: |-