Hopefully fix up when inventree_job runs

This commit is contained in:
andrewc
2024-10-15 09:59:34 +10:00
parent 0195a7caea
commit 9711dce2ef

View File

@@ -265,9 +265,7 @@ inventree_job:
- job: outputs_all - job: outputs_all
artifacts: true artifacts: true
rules: rules:
- if: $CI_COMMIT_TAG - !reference [.main_rules, rules]
when: never # Do not run this job when a tag is created manually
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
script: script:
- !reference [.commands, boms] - !reference [.commands, boms]