Fix release publishing on PPA

pull/800/head
Emmanuel Engelhart 5 months ago
parent 2308b02504
commit f166b6005b
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3

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

Loading…
Cancel
Save