|
|
@ -351,7 +351,7 @@ task :setup_github_pages, :repo do |t, args|
|
|
|
|
mkdir deploy_dir
|
|
|
|
mkdir deploy_dir
|
|
|
|
cd "#{deploy_dir}" do
|
|
|
|
cd "#{deploy_dir}" do
|
|
|
|
system "git init"
|
|
|
|
system "git init"
|
|
|
|
system "echo 'My Octopress Page is coming soon …' > index.html"
|
|
|
|
system 'echo "My Octopress Page is coming soon …" > index.html'
|
|
|
|
system "git add ."
|
|
|
|
system "git add ."
|
|
|
|
system "git commit -m \"Octopress init\""
|
|
|
|
system "git commit -m \"Octopress init\""
|
|
|
|
system "git branch -m gh-pages" unless branch == 'master'
|
|
|
|
system "git branch -m gh-pages" unless branch == 'master'
|
|
|
|