From 69245c91edad2bf634679b6554c621927ad620f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Fri, 29 Sep 2023 13:55:42 +0200
Subject: [PATCH] CI/CD => Add a copie of .env

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6cbbde..a07582e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ deploy:
         - |
             echo "Decrypt production env vars" # Do not remove this line because it is used for hide the production key from the ci/cd console
             npx dotenv-vault local decrypt "${DOTENV_PROD_KEY}" > ../../.env
+            cp ../../.env ../.env
 
         # Deploy
         - cd ../../
-- 
GitLab