reset the file on the initial append
parent
38f92d83c3
commit
03eafcdf4c
|
|
@ -5,7 +5,7 @@ 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[\"APP_SESSION_SECRET"] = \"$(openssl rand -base64 64)\"" > .env.rb'
|
||||
sh 'echo "ENV[\"DB_NAME\"] ||= \"url_shortener.db\"" >> .env.rb'
|
||||
sh 'cat .env.rb'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue