diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 18:47:00 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 18:47:03 +0100 |
commit | 57d92171dfefde1f793d5dd6dff80bc2607eb940 (patch) | |
tree | c0c9d846b8240eb01159a97febea366c7a6c4e5b | |
parent | debian: 2.0.3-2 (diff) | |
download | config-links-57d92171dfefde1f793d5dd6dff80bc2607eb940.tar.gz config-links-57d92171dfefde1f793d5dd6dff80bc2607eb940.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ppa.yml | 4 |
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 |