Fix release publishing on PPA

This commit is contained in:
Emmanuel Engelhart
2026-01-18 21:27:09 +01:00
parent 2308b02504
commit f166b6005b

View File

@@ -103,10 +103,8 @@ jobs:
- uses: legoktm/gh-action-dput@main
name: Upload release package
# Only upload on pushes to main or tag
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && startswith(matrix.distro, 'ubuntu-')
if: github.event_name == 'release' && startswith(matrix.distro, 'ubuntu-')
with:
gpg_key: ${{ secrets.LAUNCHPAD_GPG }}
repository: ppa:kiwixteam/release
packages: output/*_source.changes