Method: Underwear::AppBuilder#set_heroku_rails_secrets
- Defined in:
- lib/underwear/app_builder.rb
#set_heroku_rails_secrets ⇒ Object
377 378 379 380 381 |
# File 'lib/underwear/app_builder.rb', line 377 def set_heroku_rails_secrets %w(staging production).each do |environment| run_heroku "config:add SECRET_KEY_BASE=#{generate_secret}", environment end end |