diff --git a/auto-devops/maven.gitlab-ci.yml b/auto-devops/maven.gitlab-ci.yml
index 508c8ef156d3771d48904352fa6b22c7737e4868..da90d19f7f9946f9bc100ce32f17990d2cde6e1d 100644
--- a/auto-devops/maven.gitlab-ci.yml
+++ b/auto-devops/maven.gitlab-ci.yml
@@ -29,7 +29,7 @@ variables:
   rules:
     - if: $MAVEN_ACCESS_TOKENS_DISABLED
       when: never
-    - !reference [".maven.deploy_tokens", rules]
+    - !reference [".maven.deploy_tokens"]
 
 .maven.deploy_tokens: |
   if ! [ -x "$(command -v apt-get)" ]; then