Update pull command

This commit is contained in:
Paulus Schoutsen 2015-12-19 22:22:26 -08:00
parent 2e46db93bd
commit 26aa6b4150

View File

@ -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)