From 3a6974267b88b6d7653c96c9bd403d3785a8ca30 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Tue, 24 Nov 2009 17:01:32 -0600 Subject: [PATCH] fixed source_branch variable name in github deploy script --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index abed03c..c1ff3fd 100644 --- a/Rakefile +++ b/Rakefile @@ -102,7 +102,7 @@ desc "generate and deploy website to github user pages" multitask :deploy_github => [:default, :clean_debug] do require 'git' repo = Git.open('.') - repo.branch("#{github_pages_branch}").checkout + repo.branch("#{deploy_branch}").checkout (Dir["*"] - ["#{site}/*"]).each { |f| rm_rf(f) } Dir["#{site}/*"].each {|f| mv(f, ".")} rm_rf("#{site}/*")