module OngrDeploy::Capistrano::Rsync::DefaultStrategy
Public Instance Methods
fetch_revision()
click to toggle source
# File lib/ongr_deploy/scm/rsync.rb, line 17 def fetch_revision "" # context.capture :git, "rev-parse --short origin/#{fetch :branch}" end
release()
click to toggle source
# File lib/ongr_deploy/scm/rsync.rb, line 13 def release context.execute :cp, "-R", "#{repo_path}/.", release_path end