add migrate to deploy

This commit is contained in:
Torsten 2023-01-13 22:30:05 +02:00
parent 25b03987ff
commit eee94858e2

View File

@ -54,7 +54,8 @@ task :deploy do
invoke :'bundle:install'
invoke :'rails:assets_precompile'
invoke :'deploy:cleanup'
invoke :'rails:db_migrate'
on :launch do
in_path(fetch(:current_path)) do
invoke :'passenger:restart'