Added a prereq to generate history before publishing to gh-pages.

This commit is contained in:
zachgersh 2013-05-28 22:47:45 -07:00
parent 4440f273e0
commit cffd3a051b
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ namespace :site do
end
desc "Commit the local site to the gh-pages branch and publish to GitHub Pages"
task :publish do
task :publish => [:history] do
# Ensure the gh-pages dir exists so we can generate into it.
puts "Checking for gh-pages dir..."
unless File.exist?("./gh-pages")