From b566104d04ebe89d724c089491d9ba478b20d1a6 Mon Sep 17 00:00:00 2001
From: Varac <varac@leap.se>
Date: Tue, 26 Sep 2017 20:44:41 +0200
Subject: [PATCH] Use right domain name to renew certs

---
 tests/platform-ci/ci-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh
index 3c6a1ff4..120e2858 100755
--- a/tests/platform-ci/ci-build.sh
+++ b/tests/platform-ci/ci-build.sh
@@ -156,7 +156,7 @@ run() {
 
   # Do the deployment
   echo "Attempting a deploy..."
-  LEAP_CMD cert renew "$provider_name"
+  LEAP_CMD cert renew "$CI_JOB_NAME"
   deploy
   echo "Attempting to run tests..."
   test
-- 
GitLab