diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a5563b4d897f252119e5e7aa166abb032d70453..5049c31722794db0f04329f29eef791e7a59b72b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ deploy_staging:
   environment: staging
   script:
     - npm install
-    - echo $APP_CONFIG
+    - echo $APP_CONFIG > config.json
     - npm run build
     - echo $SSH_PRIVATE_KEY > gitlab.key
     - scp -i gitlab.key -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/