class Kikubari::Deploy::GitDeployer
Public Instance Methods
do_deploy()
click to toggle source
deploys a git repository to given folder
# File lib/deployer/deployer_git.rb, line 15 def do_deploy branch = @config.config["branch"] || "master" %x(git clone #{@config.config["origin"]} -b #{branch} #{@config.env_time_folder} ) FileUtils.rm_rf("#{@config.env_time_folder}/.git") end