Browse code

updated push rake task to copy contents of public directory into _deploy

Brandon Mathis authored on 26/07/2011 at 18:32:15
Showing 1 changed files
... ...
@@ -163,7 +163,7 @@ desc "deploy public directory to github pages"
163 163
 task :push do
164 164
   puts "## Deploying branch to Github Pages "
165 165
   (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
166
-  system "cp -R #{public_dir}/ #{deploy_dir}"
166
+  system "cp -R #{public_dir}/* #{deploy_dir}"
167 167
   puts "\n## copying #{public_dir} to #{deploy_dir}"
168 168
   cd "#{deploy_dir}" do
169 169
     system "git add ."