diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f28c8b2..d68876d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ image: docker:$DOCKER_VERSION-git .rules:deploy: rules: - - if: '$CI_PIPELINE_SOURCE = "push" && $CI_COMMIT_BRANCH = $CI_DEFAULT_BRANCH' + - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' build: rules: !reference [.rules:deploy, rules]