From fced632b12fe0b43328c1a118454e27b9a5444e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vegard=20Murvold=20Sporst=C3=B8l?= <vegarms@stud.ntnu.no>
Date: Tue, 2 Mar 2021 10:04:11 +0100
Subject: [PATCH] Update .gitlab-ci.yml

---
 backend/secfit/.gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/backend/secfit/.gitlab-ci.yml b/backend/secfit/.gitlab-ci.yml
index e1c435d..b27c4cd 100644
--- a/backend/secfit/.gitlab-ci.yml
+++ b/backend/secfit/.gitlab-ci.yml
@@ -10,10 +10,12 @@ deploy:
   services:
     - postgres:latest
   script:
-    - apt-get update -yq
+    - apt-get update -qy --allow-insecure-repositories
     - apt-get install -y ruby-dev
+    - apt-get install git -yqq
+    - apt-get install curl -y
     - gem install dpl
-    - dpl --provider=heroku --app=secfit-group15 --api_key=$HEROKU_API_KEY
+    - dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY --skip_cleanup
   only:
     refs:
       - master
-- 
GitLab