From a12b0b7f6ec0eb7ff4be0bc787e1010b23550f72 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Tue, 26 Jul 2011 14:32:15 -0400 Subject: [PATCH] updated push rake task to copy contents of public directory into _deploy --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 9b6327c..1c73264 100644 --- a/Rakefile +++ b/Rakefile @@ -163,7 +163,7 @@ desc "deploy public directory to github pages" task :push do puts "## Deploying branch to Github Pages " (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) } - system "cp -R #{public_dir}/ #{deploy_dir}" + system "cp -R #{public_dir}/* #{deploy_dir}" puts "\n## copying #{public_dir} to #{deploy_dir}" cd "#{deploy_dir}" do system "git add ."