dont migrate during deploy
This commit is contained in:
parent
3841eed786
commit
426bc6e75c
7
Capfile
7
Capfile
@ -12,3 +12,10 @@ Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
|
|||||||
|
|
||||||
require 'capistrano/rails'
|
require 'capistrano/rails'
|
||||||
require 'capistrano/passenger'
|
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
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# config valid for current version and patch releases of Capistrano
|
# config valid for current version and patch releases of Capistrano
|
||||||
lock "~> 3.10.2"
|
lock "~> 3.11.0"
|
||||||
|
|
||||||
set :application, "ruby-x"
|
set :application, "ruby-x"
|
||||||
set :repo_url, "https://github.com/ruby-x/ruby-x.github.io.git"
|
set :repo_url, "https://github.com/ruby-x/ruby-x.github.io.git"
|
||||||
|
Loading…
Reference in New Issue
Block a user