fix cap tasks

This commit is contained in:
r888888888
2015-08-24 14:11:34 -07:00
parent 63ce7f3414
commit 59c7460456
5 changed files with 15 additions and 11 deletions

View File

@@ -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"