Merge pull request #1480 from mojombo/ignore-_site-in-deploy
Ignore _site in jekyllrb.com deploy.
This commit is contained in:
commit
a2d67c5cd7
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue