Skip to content

Commit

Permalink
updated push rake task to copy contents of public directory into _deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Jul 26, 2011
1 parent d6bed01 commit a12b0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -163,7 +163,7 @@ desc "deploy public directory to github pages"
task :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 a12b0b7

Please sign in to comment.