Skip to content

Commit

Permalink
Trigger production builds on new release only
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Styk <[email protected]>
  • Loading branch information
StykMartin committed Jan 17, 2024
1 parent d324f43 commit fab73a1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Publish RPM

#on:
# push:
# tags:
# - 'nodejs-less-*'
on: [push]
on:
push:
tags:
- 'nodejs-less-*'

jobs:
build-rpm:
Expand All @@ -28,4 +27,4 @@ jobs:
printf "$COPR_CONFIG_FILE" > ~/.config/copr
- name: Build new packages
run: |
tito release copr || :
tito release copr

0 comments on commit fab73a1

Please sign in to comment.