ci: fixed rules for downstream pipelines
This commit is contained in:
parent
2f8772b618
commit
f5e69f9b95
@ -156,8 +156,7 @@ trigger_bec:
|
|||||||
variables:
|
variables:
|
||||||
OPHYD_DEVICES_BRANCH: $CI_COMMIT_REF_NAME
|
OPHYD_DEVICES_BRANCH: $CI_COMMIT_REF_NAME
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" && $CI_PROJECT_PATH == "bec/ophyd_devices"'
|
||||||
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
|
||||||
|
|
||||||
semver:
|
semver:
|
||||||
stage: Deploy
|
stage: Deploy
|
||||||
@ -185,5 +184,4 @@ semver:
|
|||||||
|
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_REF_NAME == "main"'
|
- if: '$CI_COMMIT_REF_NAME == "main" && $CI_PROJECT_PATH == "bec/ophyd_devices"''
|
||||||
- if: $CI_PROJECT_PATH == "bec/ophyd_devices"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user