diff --git a/Rakefile b/Rakefile index 1387add7888..d98244db570 100644 --- a/Rakefile +++ b/Rakefile @@ -253,7 +253,7 @@ multitask :push do puts "## Deploying branch to Github Pages " puts "## Pulling any updates from Github Pages " cd "#{deploy_dir}" do - system "git checkout origin gh-pages" + system "git checkout gh-pages" end (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) } Rake::Task[:copydot].invoke(public_dir, deploy_dir)