Skip to content

Commit

Permalink
Remove default .env from Kamal and just rely on .env.erb (Closes #51829)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed May 14, 2024
1 parent 5e3611e commit 3359240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/generators/app_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ def run_kamal
bundle_command "binstubs kamal"
bundle_command "exec kamal init"

remove_file ".env"
template "env.erb", ".env.erb"
template "config/deploy.yml", force: true
end
Expand Down

0 comments on commit 3359240

Please sign in to comment.