ruby-x.github.io/Capfile

22 lines
532 B
Plaintext
Raw Normal View History

2018-04-22 12:11:57 +02:00
# Load DSL and set up stages
2018-04-22 17:49:00 +02:00
require "capistrano/setup"
2018-04-22 12:11:57 +02:00
# Include default deployment tasks
2018-04-22 17:49:00 +02:00
require "capistrano/deploy"
2018-04-22 12:11:57 +02:00
2018-04-22 17:49:00 +02:00
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
2018-04-22 12:11:57 +02:00
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
2018-04-22 17:49:00 +02:00
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
2018-04-22 12:11:57 +02:00
2018-04-22 17:49:00 +02:00
require 'capistrano/rails'
require 'capistrano/passenger'
2019-02-09 19:43:56 +01:00
namespace :deploy do
desc "Override Capistrano's default behavior, do not migrate on deploy"
task :migrate do
puts 'No migrate'
end
end