capistrano: enable conditional migrations.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
set :user, "danbooru"
|
||||
set :rails_env, "production"
|
||||
server "kagamihara", :roles => %w(web app db), :primary => true
|
||||
set :rbenv_path, "/home/danbooru/.rbenv"
|
||||
append :linked_files, ".env.production"
|
||||
|
||||
server "kagamihara", :roles => %w(web app), :primary => true
|
||||
server "shima", :roles => %w(web app)
|
||||
server "saitou", :roles => %w(web app)
|
||||
server "oogaki", :roles => %w(worker)
|
||||
|
||||
set :linked_files, fetch(:linked_files, []).push(".env.production")
|
||||
set :rbenv_path, "/home/danbooru/.rbenv"
|
||||
|
||||
after "deploy:finished", "newrelic:notice_deployment"
|
||||
|
||||
Reference in New Issue
Block a user