From 57d92171dfefde1f793d5dd6dff80bc2607eb940 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 4 Feb 2023 18:47:00 +0100 Subject: workflows/ppa: do it on commits also I've just encountered issues with it, so I wanna test it on commits also. Push to Launchpad just for tags. --- .github/workflows/ppa.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3