... | ... |
@@ -102,7 +102,7 @@ desc "generate and deploy website to github user pages" |
102 | 102 |
multitask :deploy_github => [:default, :clean_debug] do |
103 | 103 |
require 'git' |
104 | 104 |
repo = Git.open('.') |
105 |
- repo.branch("#{github_pages_branch}").checkout |
|
105 |
+ repo.branch("#{deploy_branch}").checkout |
|
106 | 106 |
(Dir["*"] - ["#{site}/*"]).each { |f| rm_rf(f) } |
107 | 107 |
Dir["#{site}/*"].each {|f| mv(f, ".")} |
108 | 108 |
rm_rf("#{site}/*") |