Class: Capistrano::Deploy::Strategy::RemoteCache

Inherits:
Remote
  • Object
show all
Defined in:
lib/gorilla-capistrano-recipes/deepmodules.rb

Instance Method Summary collapse

Instance Method Details

#deploy!Object

Executes the SCM command for this strategy and writes the REVISION mark file to each host. We’re overriding default deploy! method to inject a call to deep update the nested modules



30
31
32
33
34
# File 'lib/gorilla-capistrano-recipes/deepmodules.rb', line 30

def deploy!
  update_repository_cache
  update_submodules(repository_cache)
  copy_repository_cache
end