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]'}" } } } diff --git a/frontend/src/pages/Admin.jsx b/frontend/src/pages/Admin.jsx index 2960852..9e4780e 100644 --- a/frontend/src/pages/Admin.jsx +++ b/frontend/src/pages/Admin.jsx @@ -236,8 +236,11 @@ export default function Admin() { -