run only on protected branches

This commit is contained in:
Blair Vanderlugt 2021-10-15 18:47:01 -07:00
parent ab70ecee26
commit 0d5bd8edb2

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