From 2e46db93bd0d4803893249917d1ea8ff021c7b20 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 19 Dec 2015 22:16:15 -0800 Subject: [PATCH] Fix git pull on deploy --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index bab6092a46..1387add788 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 - Bundler.with_clean_env { system "git pull" } + system "git checkout origin gh-pages" end (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) } Rake::Task[:copydot].invoke(public_dir, deploy_dir)