Add new settings on servers with the db role

This task adds records to the database, so the role `db` is more
appropriate.
This commit is contained in:
Javi Martín
2019-06-05 19:28:31 +02:00
parent 1d0b05832c
commit d2c075cc93

View File

@@ -77,7 +77,7 @@ task :refresh_sitemap do
end end
task :add_new_settings do task :add_new_settings do
on roles(:app) do on roles(:db) do
within release_path do within release_path do
with rails_env: fetch(:rails_env) do with rails_env: fetch(:rails_env) do
execute :rake, "settings:add_new_settings" execute :rake, "settings:add_new_settings"