aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ppa.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ppa.yml b/.github/workflows/ppa.yml
index bc59393..0383422 100644
--- a/.github/workflows/ppa.yml
+++ b/.github/workflows/ppa.yml
@@ -2,7 +2,8 @@ name: Publish (Launchpad)
on:
push:
- tags: 'debian/*'
+ pull_request:
+ workflow_dispatch:
jobs:
test:
@@ -27,4 +28,5 @@ jobs:
- name: Build source package
run: cd debian && make clean && make src
- name: Upload to PPA
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/debian/')
run: cd debian && make upload