diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 697d93512..86a90723d 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -1,7 +1,6 @@ name: Build Debian Package on: - push: # TODO remove before merging into develop release: types: [published] workflow_dispatch: @@ -100,9 +99,9 @@ jobs: cryptomator_*_amd64.deb cryptomator_*.asc - name: Run dput to beta repo - # if: startsWith(github.ref, 'refs/tags/') - run: dput --check-only ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes - - name: Publish AppImage on GitHub Releases + if: startsWith(github.ref, 'refs/tags/') + run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes + - name: Publish Debian package on GitHub Releases if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: