From 82d3daf20f98a74e1947ce97d72e377271bdacc3 Mon Sep 17 00:00:00 2001 From: Andil Date: Sat, 19 Sep 2026 23:23:18 +0000 Subject: [PATCH] fix(ci): inject Turnstile site key into frontend build --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7697f73..02fe649 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -83,12 +83,17 @@ pipeline { env.FRONTEND_API_URL = '' env.FRONTEND_GA_ID = "" } + env.TURNSTILE_SITE_KEY = sh( + script: "grep '^TURNSTILE_SITE_KEY=' /opt/furious-ducks/secrets/tiptop-mail.env | cut -d= -f2-", + returnStdout: true +).trim() echo "Branche : ${env.BRANCH_NAME}" echo "Tag Docker : ${env.IMAGE_TAG}" echo "Environnement : ${env.DEPLOY_ENV}" echo "Déploiement activé : ${env.DEPLOY_ENABLED}" echo "API frontend : ${env.FRONTEND_API_URL}" + echo "Turnstile : ${env.TURNSTILE_SITE_KEY ? '[SET]' : '[EMPTY]'}" } } }