Skip to content

Commit

Permalink
fixed issue where public was being copied into _deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Sep 21, 2011
1 parent 27c736b commit 5b2b0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
Expand Down

0 comments on commit 5b2b0c5

Please sign in to comment.