From 03eafcdf4c6499699749baa6f353e64bda721c3b Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Fri, 6 Oct 2023 13:59:12 -0700 Subject: [PATCH] reset the file on the initial append --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ddab092..01d1974 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' }