Merge pull request #583 from xuhdev/deploy-nojekyll

Use a more portable way to create .nojekyll file when deploying to github pages.
This commit is contained in:
Brandon Mathis 2012-05-26 22:54:41 -07:00
commit 3b26147aef

View File

@ -295,7 +295,7 @@ multitask :push do
puts "\n## copying #{public_dir} to #{deploy_dir}"
cp_r "#{public_dir}/.", deploy_dir
cd "#{deploy_dir}" do
system "touch .nojekyll"
File.new(".nojekyll", "w").close
system "git add ."
system "git add -u"
message = "Site updated at #{Time.now.utc}"