From 29cd4bce9016ba386ea1d471b2433d4e8d07e22b Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Sun, 20 Dec 2020 10:08:43 +0100
Subject: [PATCH] Fix test for variables

---
 test-and-deploy.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index f09065c..953bd50 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -62,8 +62,8 @@ stages:
     - ssh-keyscan gitlab.lakedrops.com >> ~/.ssh/known_hosts
     - chmod 644 ~/.ssh/known_hosts
     - ssh git@gitlab.lakedrops.com
-    - if [ -n $DOWNGRADE_COMPOSER ]; then composer self-update --$DOWNGRADE_COMPOSER; fi
-    - if [ -n $GITLAB_ACCESS_TOKEN ]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi
+    - if [[ -n $DOWNGRADE_COMPOSER ]]; then composer self-update --$DOWNGRADE_COMPOSER; fi
+    - if [[ -n $GITLAB_ACCESS_TOKEN ]]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi
     - composer install --no-interaction --no-progress
     - composer lakedrops:scaffold --no-interaction
     - composer lakedrops:docker4drupal --no-interaction
-- 
GitLab