forked from e621ng/e621ng
19 lines
541 B
Ruby
19 lines
541 B
Ruby
# Load DSL and set up stages
|
|
require 'capistrano/setup'
|
|
|
|
# Include default deployment tasks
|
|
require 'capistrano/deploy'
|
|
|
|
# Include tasks from other gems included in your Gemfile
|
|
require 'capistrano/rbenv'
|
|
require 'capistrano/rails'
|
|
require 'whenever/capistrano'
|
|
require 'capistrano3/unicorn'
|
|
require 'capistrano/deploytags'
|
|
require 'new_relic/recipes'
|
|
|
|
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
|
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|
|
|
|
after "deploy:updated", "newrelic:notice_deployment"
|