dont migrate during deploy

This commit is contained in:
Torsten Ruger 2019-02-09 20:43:56 +02:00
parent 3841eed786
commit 426bc6e75c
2 changed files with 8 additions and 1 deletions

View File

@ -12,3 +12,10 @@ Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
require 'capistrano/rails'
require 'capistrano/passenger'
namespace :deploy do
desc "Override Capistrano's default behavior, do not migrate on deploy"
task :migrate do
puts 'No migrate'
end
end

View File

@ -1,5 +1,5 @@
# config valid for current version and patch releases of Capistrano
lock "~> 3.10.2"
lock "~> 3.11.0"
set :application, "ruby-x"
set :repo_url, "https://github.com/ruby-x/ruby-x.github.io.git"