aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-22 04:45:44 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-22 04:45:44 -0500
commit4d491494049dcea091cee8b06943ac8a7d3ad34b (patch)
tree092e41457c9253d489795ab706c7b557c3c52d65 /Rakefile
parentfcb730b5bf6c76f8f36512461181df4f537cc16a (diff)
downloadmy_new_personal_website-4d491494049dcea091cee8b06943ac8a7d3ad34b.tar.xz
my_new_personal_website-4d491494049dcea091cee8b06943ac8a7d3ad34b.zip
renamed github pages configuration task
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 4fcafbd5..df19b9d4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -276,7 +276,7 @@ task :set_root_dir, :dir do |t, args|
end
desc "Set up _deploy folder and deploy branch for Github Pages deployment"
-task :setup_github do
+task :setup_github_pages do
repo_url = get_stdin("Enter the read/write url for your repository: ")
user = repo_url.match(/:([^\/]+)/)[1]
branch = (repo_url.match(/\/\w+.github.com/).nil?) ? 'gh-pages' : 'master'