Implements the deployment strategy that keeps a cached checkout of the source code on each remote server. Each deploy simply updates the cached checkout, and then does a copy from the cached copy to the final deployment location.
# File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 19 def check! super.check do |d| d.remote.command("rsync") unless copy_exclude.empty? d.remote.writable(shared_path) end end
Executes the SCM command for this strategy and writes the REVISION mark file to each host.
# File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 14 def deploy! update_repository_cache copy_repository_cache end
Generated with the Darkfish Rdoc Generator 2.