another shot at cleaning up the .env.rb file

pull/29/head
Adam Townsend 2023-10-22 13:50:58 -07:00
parent 795447e029
commit c51a6782d9
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
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 "# frozen_string_literal: true\n" > env.rb echo "# frozen_string_literal: true\n" > env.rb
echo "ENV[\\\'APP_SESSION_SECRET\\\'] ||= \\\'$(ruby -rsecurerandom -e 'puts SecureRandom.base64(64)')\\\'" >> .env.rb echo "ENV[\\'APP_SESSION_SECRET\\'] ||= \\'$(ruby -rsecurerandom -e 'puts SecureRandom.base64(64)')\\'" >> .env.rb
echo "ENV[\\\'DB_NAME\\\'] ||= \\\'${DB_NAME}\\\'" >> .env.rb echo "ENV[\\\'DB_NAME\\\'] ||= \\\'${DB_NAME}\\\'" >> .env.rb
''' '''
} }