Make sure we do not forget to merge #583 in the future.

This commit is contained in:
Tom Preston-Werner 2012-12-31 13:10:15 -08:00
parent 00d979759e
commit 43216ac629
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,10 @@ namespace :site do
desc "Commit the local site to the gh-pages branch and publish to GitHub Pages"
task :publish do
# Failsafe. Remove this once it has been done.
puts "Make sure to merge #583 into gh-pages before deploying."
exit(1)
# Ensure the gh-pages dir exists so we can generate into it.
puts "Checking for gh-pages dir..."
unless File.exist?("./gh-pages")