From 196cf0bf2beea39ec3a1f11208dca071075ff041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <git@minelli.me> Date: Fri, 19 Apr 2024 17:55:36 +0200 Subject: [PATCH] Update API --- .gitlab-ci.yml | 6 +++++- API | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80975ba..dea6775 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,11 @@ deploy: # Get env file - | 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 + + echo "DOTENV_KEY_PRODUCTION=\"${DOTENV_PROD_KEY}\"" > .env.keys + npx @dotenvx/dotenvx decrypt + mv .env.production ../../.env + rm .env.keys cp ../../.env ../.env # Deploy diff --git a/API b/API index 54c0e2b..cc04707 160000 --- a/API +++ b/API @@ -1 +1 @@ -Subproject commit 54c0e2bf0bf2631d072d56d3ec4685c7bcbc6763 +Subproject commit cc0470731fcfac6d44308c71c797fbf3a2052d9c -- GitLab