... | ... |
@@ -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 ." |