Skip to content

Commit

Permalink
Merge pull request #583 from xuhdev/deploy-nojekyll
Browse files Browse the repository at this point in the history
Use a more portable way to create .nojekyll file when deploying to github pages.
  • Loading branch information
imathis committed May 27, 2012
2 parents 0b08843 + c1b2b43 commit 3b26147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -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}"
Expand Down

0 comments on commit 3b26147

Please sign in to comment.