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

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e08fe88..a33a63d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -149,6 +149,8 @@ lint:
       docker-compose up -d &&
       exit" ; else
     - cd ./frontend
+    - echo 'REACT_APP_BASE_URL_BACK="http://localhost:8000/api"' > .env;
+    - echo 'REACT_APP_BASE_URL_FRONT="http://eatfast.cs-campus.fr"' >> .env;
     - npm install && npm run build
     - scp -r build/ eatfast@"$DOMAIN":/var/www/eatfast-website/frontend ; fi
 
-- 
GitLab