aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-24 17:21:04 -0600
committerB Mathis <brandon@imathis.com>2009-11-24 17:21:04 -0600
commiteff018e91e5ab1adba9dc01c1ca3c186a1bb486e (patch)
tree89b8927e179274a7d79a27aa90f2572b0bca9c46
parent65ab7abbfa79ffe14145c995dfb81dc6b2b11856 (diff)
downloadmy_new_personal_website-eff018e91e5ab1adba9dc01c1ca3c186a1bb486e.tar.xz
my_new_personal_website-eff018e91e5ab1adba9dc01c1ca3c186a1bb486e.zip
trying one more thing with the rake task auto push
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index b05b5d94..c4e18bf7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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