simplify-secret #27

Merged
bucky merged 7 commits from simplify-secret into master 2023-10-17 21:43:20 -07:00
Showing only changes of commit 4e32f4a60d - Show all commits
Vendored
+1 -1
View File
@@ -10,7 +10,7 @@ pipeline {
sh ''' #!/usr/local/bin/bash sh ''' #!/usr/local/bin/bash
rbenv local 3.2.2 rbenv local 3.2.2
echo "ENV[\\\"APP_SESSION_SECRET\\\"] ||= $(ruby -rsecurerandom -e 'puts SecureRandom.base64(64).inspect()')" > .env.rb echo "ENV[\\\"APP_SESSION_SECRET\\\"] ||= $(ruby -rsecurerandom -e 'puts SecureRandom.base64(64).inspect()')" > .env.rb
echo "ENV["DB_NAME"] ||= '${DB_NAME}'" >> .env.rb echo "ENV[\\\"DB_NAME\\\"] ||= \\\"${DB_NAME}\\\"" >> .env.rb
''' '''
} }
} }