Permalink
Browse files

Merge pull request #583 from xuhdev/deploy-nojekyll

Use a more portable way to create .nojekyll file when deploying to github pages.
  • Loading branch information...
2 parents 0b08843 + c1b2b43 commit 3b26147aef93c4bb43aa1bb346df2265c85802ce @imathis committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -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}"

0 comments on commit 3b26147

Please sign in to comment.