From 38f92d83c3c59d2905d92294596ab4301ced0a98 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Fri, 6 Oct 2023 13:57:42 -0700 Subject: [PATCH] add app session secret generation to the mix --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index acee9fa..ddab092 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,9 @@ pipeline { stage('Init') { steps { sh 'rbenv local 3.2.2' + sh 'echo "ENV[\"APP_SESSION_SECRET"] = \"$(openssl rand -base64 64)\"" >> .env.rb' sh 'echo "ENV[\"DB_NAME\"] ||= \"url_shortener.db\"" >> .env.rb' + sh 'cat .env.rb' } } }