diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 25877f9..2ea4420 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -64,8 +64,8 @@ jobs: - uses: legoktm/gh-action-dput@master name: Upload dev package - # Only upload on pushes to master - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' && startswith(matrix.distro, 'ubuntu-') + # Only upload on pushes to git default branch + if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && startswith(matrix.distro, 'ubuntu-') with: gpg_key: ${{ secrets.LAUNCHPAD_GPG }} repository: ppa:kiwixteam/dev