Merge pull request #159 from tmiller/patch-1
Removing glob because globbing does not pick up dotfiles.
This commit is contained in:
commit
48a93a90a4
2
Rakefile
2
Rakefile
@ -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 ."
|
||||
|
Loading…
Reference in New Issue
Block a user