diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index c27a789fb7b69c5a5a5f7ac789ef4b4744a41c51..f1211133d97c06c79cb745b8f1cfe8b152f0d377 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -44,7 +44,7 @@ deploy:
       for j in *.nomad; do
         COUNT=0
         echo -e "\n${j}:"
-        while [[ $COUNT -lt 3 ]]; then
+        while [[ $COUNT -lt 3 ]]; do
           nomad job run <(envsubst < $j)
           RET=$?
           if [[ $RET -eq 0 ]]; then