Browse code

fixed issue where public was being copied into _deploy

Brandon Mathis authored on 21/09/2011 at 23:44:21
Showing 1 changed files
... ...
@@ -225,7 +225,7 @@ desc "deploy public directory to github pages"
225 225
 multitask :push do
226 226
   puts "## Deploying branch to Github Pages "
227 227
   (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
228
-  system "cp -R #{public_dir}/ #{deploy_dir}"
228
+  system "cp -R #{public_dir}/* #{deploy_dir}"
229 229
   puts "\n## copying #{public_dir} to #{deploy_dir}"
230 230
   cd "#{deploy_dir}" do
231 231
     system "git add ."