From da1780f6d2984849bac484ed8eda367f10061a79 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 30 Aug 2013 18:30:53 -0400 Subject: [PATCH] Ignore _site in jekyllrb.com deploy. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 52e09c80..2685162d 100644 --- a/Rakefile +++ b/Rakefile @@ -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