fix cap tasks
This commit is contained in:
9
Capfile
9
Capfile
@@ -11,13 +11,6 @@ require 'whenever/capistrano'
|
||||
require 'capistrano3/unicorn'
|
||||
|
||||
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
||||
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|
||||
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
||||
|
||||
after "delayed_job:stop", "delayed_job:kill"
|
||||
after "deploy:symlink:shared", "symlink:local_files"
|
||||
after "deploy:symlink:shared", "symlink:directories"
|
||||
before "deploy:started", "web:disable"
|
||||
before "deploy:started", "delayed_job:stop"
|
||||
after "deploy:published", "delayed_job:start"
|
||||
after "deploy:published", "unicorn:reload"
|
||||
after "deploy:published", "web:enable"
|
||||
|
||||
Reference in New Issue
Block a user