Removing glob because globbing does not pick up dotfiles.

This commit is contained in:
Tom Miller 2011-09-19 22:44:09 -05:00 committed by Tom Miller
parent 44e4a991cf
commit ec91c370d5
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ desc "deploy public directory to github pages"
multitask :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 ."