Ignore _site in jekyllrb.com deploy.

This commit is contained in:
Parker Moore 2013-08-30 18:30:53 -04:00
parent 289117d4fe
commit da1780f6d2
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ namespace :site do
# Copy to gh-pages dir.
puts "Copying site to gh-pages branch..."
Dir.glob("site/*") do |path|
next if path == "_site"
next if path.include? "_site"
sh "cp -R #{path} gh-pages/"
end