From b7d630a2b5fc7f188596d5efb73ffcd53a1b3b2f Mon Sep 17 00:00:00 2001
From: Kevin Hooke <kh816@cam.ac.uk>
Date: Wed, 6 Nov 2024 14:10:57 +0000
Subject: [PATCH] fixed deploy_tokens reference

---
 auto-devops/maven.gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auto-devops/maven.gitlab-ci.yml b/auto-devops/maven.gitlab-ci.yml
index 508c8ef..da90d19 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
-- 
GitLab