wrap it in an env var and add it to the env file

pull/15/head
Adam Townsend 2023-10-06 18:09:17 -07:00
parent 6160174c5d
commit 7a32edb6e3
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -5,9 +5,9 @@ pipeline {
stage('Init') {
steps {
sh 'rbenv local 3.2.2'
sh 'ruby secret.rb'
sh 'echo \\\'ENV[\\\"APP_SESSION_SECRET\\\"] ||= $(ruby secret.rb)\\\' > .env.rb'
//sh 'echo "ENV[\\\"DB_NAME\\\"] ||= \\\"url_shortener.db\\\"" >> .env.rb'
//sh 'cat .env.rb'
sh 'cat .env.rb'
}
}
}