From e791613049ca7b8e13bd2af8a45fa48336bba023 Mon Sep 17 00:00:00 2001
From: Ilia Eriomenco <ilia.eriomenco@endava.com>
Date: Wed, 14 Apr 2021 17:02:24 +0300
Subject: [PATCH] ci: updated before_script in k8s deploy

---
 .gitlab-ci.elife.k8s.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.elife.k8s.yml b/.gitlab-ci.elife.k8s.yml
index cdd3320b66..4aae7cf6e1 100644
--- a/.gitlab-ci.elife.k8s.yml
+++ b/.gitlab-ci.elife.k8s.yml
@@ -44,6 +44,7 @@ deploy:
     AWS_DEFAULT_REGION: $ELIFE_AWS_DEFAULT_REGION
     ELIFE_CLUSTER_NAME: eks-elife-kotahi
   before_script:
+     - mkdir ~/.kube && touch ~/.kube/config
      - echo "${ELIFE_K8S_CLUSTER_CONFIG}" >> ~/.kube/config
   script:
       - |
-- 
GitLab