diff --git a/Capfile b/Capfile index d0e3434..4098e34 100644 --- a/Capfile +++ b/Capfile @@ -14,6 +14,8 @@ require "capistrano/deploy" # or require "capistrano/scm/git" install_plugin Capistrano::SCM::Git +require "capistrano/scm/git-with-submodules" +install_plugin Capistrano::SCM::Git::WithSubmodules # Include tasks from other gems included in your Gemfile # diff --git a/Gemfile b/Gemfile index 78b9906..6f2120e 100644 --- a/Gemfile +++ b/Gemfile @@ -33,3 +33,5 @@ gem "capistrano", "~> 3.10", require: false gem "capistrano-rbenv", require: false gem "capistrano-bundler", require: false + +gem 'capistrano-git-with-submodules', '~> 2.0' diff --git a/Gemfile.lock b/Gemfile.lock index ebe0bf9..cb00118 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,6 +12,8 @@ GEM sshkit (>= 1.9.0) capistrano-bundler (2.0.1) capistrano (~> 3.1) + capistrano-git-with-submodules (2.0.4) + capistrano (~> 3.7) capistrano-rbenv (2.2.0) capistrano (~> 3.1) sshkit (~> 1.3) @@ -90,6 +92,7 @@ PLATFORMS DEPENDENCIES capistrano (~> 3.10) capistrano-bundler + capistrano-git-with-submodules (~> 2.0) capistrano-rbenv jekyll (~> 4.2.0) jekyll-feed (~> 0.12)