diff --git a/Rakefile b/Rakefile index a2555af077d..29e0cbe5b80 100644 --- a/Rakefile +++ b/Rakefile @@ -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)