Update .gitlab-ci.yml file
This commit is contained in:
parent
ba6198e401
commit
9b387adab5
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ image: docker:$DOCKER_VERSION-git
|
||||||
|
|
||||||
.rules:deploy:
|
.rules:deploy:
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE = "push" && $CI_COMMIT_BRANCH = $CI_DEFAULT_BRANCH'
|
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
rules: !reference [.rules:deploy, rules]
|
rules: !reference [.rules:deploy, rules]
|
||||||
|
|
Loading…
Reference in a new issue