run only on protected branches

This commit is contained in:
Blair Vanderlugt 2021-10-15 18:47:01 -07:00
parent ab70ecee26
commit 0d5bd8edb2
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ version:
artifacts: artifacts:
paths: paths:
- version - version
rules:
- if: $CI_COMMIT_REF_PROTECTED == "true"
when: always
only: only:
- branches - branches