trying one more thing with the rake task auto push

This commit is contained in:
B Mathis 2009-11-24 17:21:04 -06:00
parent 65ab7abbfa
commit eff018e91e

View File

@ -110,7 +110,7 @@ multitask :deploy_github => [:default, :clean_debug] do
repo.status.deleted.each {|f, s| repo.remove(f)}
message = ENV["MESSAGE"] || "Site updated at #{Time.now.utc}"
repo.commit(message)
repo.push("origin #{deploy_branch}")
repo.push
repo.branch("#{source_branch}").checkout
end