add migrate to deploy
This commit is contained in:
parent
25b03987ff
commit
eee94858e2
@ -54,7 +54,8 @@ task :deploy do
|
|||||||
invoke :'bundle:install'
|
invoke :'bundle:install'
|
||||||
invoke :'rails:assets_precompile'
|
invoke :'rails:assets_precompile'
|
||||||
invoke :'deploy:cleanup'
|
invoke :'deploy:cleanup'
|
||||||
|
invoke :'rails:db_migrate'
|
||||||
|
|
||||||
on :launch do
|
on :launch do
|
||||||
in_path(fetch(:current_path)) do
|
in_path(fetch(:current_path)) do
|
||||||
invoke :'passenger:restart'
|
invoke :'passenger:restart'
|
||||||
|
Loading…
Reference in New Issue
Block a user