From eee94858e23ac600c6056c4c302d8a81d362b0ef Mon Sep 17 00:00:00 2001 From: Torsten Date: Fri, 13 Jan 2023 22:30:05 +0200 Subject: [PATCH] add migrate to deploy --- config/deploy.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 7fb3975..e0c396f 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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'