diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml
index 3ebabb27ccbc2f924e65d9b2a1844874107c39bc..ee33dd8a016c9e189bc2ff90b0d5f151d3c45249 100644
--- a/.gitlab/ci/rules.gitlab-ci.yml
+++ b/.gitlab/ci/rules.gitlab-ci.yml
@@ -25,9 +25,10 @@
 # deploying created releases
 # when creating a commit tag & previous release job was successful
 .rules:deploy:
-  - when: never
-  - allow_failure: false
-  - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-    when: on_success
+  rules:
+    - when: never
+    - allow_failure: false
+    - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+      when: on_success