Skip to content

Commit

Permalink
Move the Git submodules code to deploy-after
Browse files Browse the repository at this point in the history
  • Loading branch information
markjaquith committed Jun 4, 2012
1 parent 6ad6e06 commit a6f9bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Capistrano/Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ require 'rubygems'
require 'railsless-deploy'
load 'config/lib/misc'
load 'config/lib/tasks'
load 'config/deploy'
load 'config/deploy'
load 'config/deploy-after'
1 change: 0 additions & 1 deletion Capistrano/config/SAMPLE.config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@

# Using Git Submodules?
set :git_enable_submodules, 1
if git_enable_submodules then before "deploy", "git:submodule_tags"

role :web, "your web-server here"
1 change: 1 addition & 0 deletions Capistrano/config/deploy-after.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
before( "deploy", "git:submodule_tags" ) if git_enable_submodules

0 comments on commit a6f9bf1

Please sign in to comment.