Fixed up inventree_job rules and updated to latest version of ki-ntree cli

This commit is contained in:
andrewc
2024-10-23 11:20:19 +10:00
parent 9711dce2ef
commit 0794509a6b
2 changed files with 4 additions and 2 deletions

View File

@@ -265,7 +265,9 @@ inventree_job:
- job: outputs_all - job: outputs_all
artifacts: true artifacts: true
rules: rules:
- !reference [.main_rules, rules] - if: $CI_COMMIT_TAG
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]