Fix order of rules
This commit is contained in:
+2
-2
@@ -107,10 +107,10 @@ build:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
when: always
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "web"'
|
- if: '$CI_PIPELINE_SOURCE == "web"'
|
||||||
when: never
|
when: never
|
||||||
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
|
when: always
|
||||||
needs:
|
needs:
|
||||||
- job: check
|
- job: check
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user