Update deploy branch

This commit is contained in:
Paulus Schoutsen 2016-08-21 16:55:10 -07:00
parent 6adddf4a55
commit 5e6b7fd977

View File

@ -12,7 +12,7 @@ rsync_args = "" # Any extra arguments to pass to rsync
deploy_default = "push"
# This will be configured for you when you run config_deploy
deploy_branch = "gh-pages"
deploy_branch = "master"
## -- Misc Configs -- ##
@ -254,7 +254,7 @@ multitask :push do
puts "## Deploying branch to Github Pages "
puts "## Pulling any updates from Github Pages "
cd "#{deploy_dir}" do
system "git checkout gh-pages"
system "git checkout #{deploy_branch}"
end
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
Rake::Task[:copydot].invoke(public_dir, deploy_dir)