From 426bc6e75c8ed65d48f8c5fe655fbb8d58ebc081 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 9 Feb 2019 20:43:56 +0200 Subject: [PATCH] dont migrate during deploy --- Capfile | 7 +++++++ config/deploy.rb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Capfile b/Capfile index b9bcd88..f6aaa21 100644 --- a/Capfile +++ b/Capfile @@ -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 diff --git a/config/deploy.rb b/config/deploy.rb index 22ebba8..685403e 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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"