Class | Capistrano::Deploy::Strategy::RemoteCache |
In: |
lib/capistrano/recipes/deploy/strategy/remote_cache.rb
lib/capistrano/recipes/deploy/strategy/remote_cache.rb |
Parent: | Remote |
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 19: def check! 20: super.check do |d| 21: d.remote.writable(shared_path) 22: end 23: end
# File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 19 19: def check! 20: super.check do |d| 21: d.remote.writable(shared_path) 22: end 23: end