From fab73a1d89eda9c6e3ce9d2fb5185b583ff243c7 Mon Sep 17 00:00:00 2001 From: Martin Styk Date: Wed, 17 Jan 2024 18:28:05 +0100 Subject: [PATCH] Trigger production builds on new release only Signed-off-by: Martin Styk --- .github/workflows/publish.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e5c41e1..1e05d54 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,10 +1,9 @@ name: Publish RPM -#on: -# push: -# tags: -# - 'nodejs-less-*' -on: [push] +on: + push: + tags: + - 'nodejs-less-*' jobs: build-rpm: @@ -28,4 +27,4 @@ jobs: printf "$COPR_CONFIG_FILE" > ~/.config/copr - name: Build new packages run: | - tito release copr || : + tito release copr