From 0a3a330a290ea6c063d802349173721fbb1f6cba Mon Sep 17 00:00:00 2001
From: Jon Azpiazu <jon.azpiazu@tecnalia.com>
Date: Fri, 15 Oct 2021 12:28:03 +0200
Subject: [PATCH] Fix exists syntax

---
 ci-templates/auto-rules/no-default.yml | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/ci-templates/auto-rules/no-default.yml b/ci-templates/auto-rules/no-default.yml
index 1012ebb..2b9e7e8 100644
--- a/ci-templates/auto-rules/no-default.yml
+++ b/ci-templates/auto-rules/no-default.yml
@@ -58,22 +58,28 @@ industrial_kinetic_deploy:
   extends: .ddeploy
   rules:
     - if: $DEPLOY && $DEFAULT_DISTRO == "kinetic"
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
     - if: $DEPLOY && $BUILD_KINETIC
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
 
 industrial_melodic_deploy:
   extends: .ddeploy
   rules:
     - if: $DEPLOY && $DEFAULT_DISTRO == "melodic"
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
     - if: $DEPLOY && $BUILD_MELODIC
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
 
 industrial_noetic_deploy:
   extends: .ddeploy
   rules:
     - if: $DEPLOY && $DEFAULT_DISTRO == "noetic"
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
     - if: $DEPLOY && $BUILD_NOETIC
-      exists: ddeploy.yaml
+      exists:
+        - ddeploy.yaml
-- 
GitLab