Merge pull request #800 from kiwix/publish-ppa-release

Fix release publishing on PPA
pull/804/head
Kelson 4 months ago committed by GitHub
commit 261416edb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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