Permalink
Browse files

don't nuke _site dir, we need that

  • Loading branch information...
Philip (flip) Kromer
Philip (flip) Kromer committed Sep 7, 2010
1 parent d43df31 commit 2379f7113ed033d68f19eafa0f481d50c6eeb624
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -148,7 +148,7 @@ multitask :deploy_github do
repo.branch("#{deploy_branch}").checkout
(Dir["*"] - [site]).each { |f| rm_rf(f) }
Dir["#{site}/*"].each {|f| mv(f, ".")}
- rm_rf(site)
+ # rm_rf(site)
puts "\n>>> Moving generated site files <<<\n"
Dir["**/*"].each {|f| repo.add(f) }
repo.status.deleted.each {|f, s| repo.remove(f)}

0 comments on commit 2379f71

Please sign in to comment.