diff --git a/Rakefile b/Rakefile index ce15184c..70064e7b 100644 --- a/Rakefile +++ b/Rakefile @@ -180,7 +180,7 @@ namespace :site do sha = `git log`.match(/[a-z0-9]{40}/)[0] Dir.chdir('gh-pages') do sh "git add ." - sh "git commit -m 'Updating to #{sha}.'" + sh "git commit --allow-empty -m 'Updating to #{sha}.'" sh "git push origin gh-pages" end puts 'Done.'