aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-04 21:18:21 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-04 21:35:06 +0100
commit9d5902e04ed8e4428c7c55bc89665196a3d28161 (patch)
tree66e1891a8f2ec67f78c8010f960a6283804ff69d /.github/workflows
parentdebian: 2.3.2-1 (diff)
downloadlinux-status-9d5902e04ed8e4428c7c55bc89665196a3d28161.tar.gz
linux-status-9d5902e04ed8e4428c7c55bc89665196a3d28161.zip
workflows/ppa: do it for commits also
I've just encountered issues with it in my other project, so I wanna test it on commits as well. Push to Launchpad just for tags.
Diffstat (limited to '')
-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