Merge pull request #1480 from mojombo/ignore-_site-in-deploy

Ignore _site in jekyllrb.com deploy.
This commit is contained in:
Parker Moore 2013-08-30 15:41:10 -07:00
commit a2d67c5cd7
1 changed files with 1 additions and 1 deletions

View File

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