From 04d924b0a70df924930202aeb8c71a320e63c729 Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Thu, 7 Jul 2022 00:01:12 +0200
Subject: [PATCH] fix

---
 .gitlab-ci.yml        | 2 --
 frontend/package.json | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74cc022..e08fe88 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -183,5 +183,3 @@ deploy-front-prod:
     DOMAIN: eatfast.cs-campus.fr
     PRIVATE_KEY: "$SSH_PRIVATE_KEY"
     IMAGE: "front"
-  env: 
-    CI: false
diff --git a/frontend/package.json b/frontend/package.json
index 2591c0b..7ef4206 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -20,7 +20,7 @@
   },
   "scripts": {
     "start": "react-scripts start",
-    "build": "react-scripts build",
+    "build": "CI=false && react-scripts build",
     "test": "react-scripts test",
     "eject": "react-scripts eject"
   },
-- 
GitLab