Skip to content

Commit

Permalink
ci(gitlab-ci): add condition to trigger internal-publish only for bra…
Browse files Browse the repository at this point in the history
…nches
  • Loading branch information
Milos Danilov committed Oct 11, 2022
1 parent 28cf9b1 commit 0cffaf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ test:e2e:

internal-publish:
stage: publish
rules:
# trigger only for branches, skip tags
- if: '$CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME'
dependencies:
- build
script:
Expand Down

0 comments on commit 0cffaf3

Please sign in to comment.