Skip to content

Commit

Permalink
Don't publish on all commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 23, 2022
1 parent c0bb545 commit d2fd4a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
&& github.event.ref_type != 'tag'
- name: Publish
run: c2cciutils-publish
if: env.HAS_SECRETS == 'HAS_SECRETS'
if: |
env.HAS_SECRETS == 'HAS_SECRETS'
&& github.event_name == 'push'
&& ( github.event.ref_type == 'tag' || github.event.ref_name == 'master' )
k8s:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit d2fd4a4

Please sign in to comment.