Update .gitlab-ci.yml file

This commit is contained in:
Florian Hoss 2024-03-12 14:54:58 +00:00
parent ba6198e401
commit 9b387adab5

View file

@ -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]