From 921b8aaa63abf9503e3dc12d84acc3bbb13162ce Mon Sep 17 00:00:00 2001 From: Sieciech Date: Sun, 29 Aug 2021 10:49:16 +0200 Subject: [PATCH] app secret --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 032ea73..b5691ea 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -123,7 +123,7 @@ pipeline { stage('Backend') { steps { dir(path: 'src/backend') { - sh "APP_SECRET=`php8.0 -r 'echo md5(\"branch=${BRANCH_NAME};\");'` && echo $APP_SECRET | php8.0 ../../tools/putenv/putenv.php .env APP_SECRET" + sh "echo `php8.0 -r 'echo md5(\"branch=${BRANCH_NAME};\");'` | php8.0 ../../tools/putenv/putenv.php .env APP_SECRET" sh "php8.0 ../../tools/putenv/putenv.php .env DATABASE_URL \"${DatabaseUrl}\"" sh 'php8.0 /usr/local/bin/composer dump-env prod' }