You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace :deploy do
# ...
task :migrate_db do
if role? :db
Dir.chdir(RAILS_ROOT)
Rake::Task['db:migrate'].invoke
end
end
task :post_deploy => [ :environment, :create_shared_private, :migrate_db, 'sass:update', :build_assets, 'mod_rails:restart', :notify_hoptoad ]
end
When the the current post deploy hook is actually :migrate_db, I see the following in my terminal:
When the the current post deploy hook is actually
:migrate_db
, I see the following in my terminal:The text was updated successfully, but these errors were encountered: