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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user