aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-26 14:32:15 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-26 14:32:15 -0400
commita12b0b7f6ec0eb7ff4be0bc787e1010b23550f72 (patch)
tree2deb79a9a794d11a368ee0db70fed2238a12933f /Rakefile
parentd6bed015bef5540e58dd91bcc4cbfe6560d826ca (diff)
downloadmy_new_personal_website-a12b0b7f6ec0eb7ff4be0bc787e1010b23550f72.tar.xz
my_new_personal_website-a12b0b7f6ec0eb7ff4be0bc787e1010b23550f72.zip
updated push rake task to copy contents of public directory into _deploy
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 9b6327c3..1c732646 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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 ."