aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-21 18:44:21 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-21 18:44:21 -0500
commit5b2b0c508bec91b3507d53544eec19c9c43ebc27 (patch)
tree8a6e14324c4ed781abdf2e872491f293cdca5aa4 /Rakefile
parent27c736bff5bd6687d3ca97282599670250c5801a (diff)
downloadmy_new_personal_website-5b2b0c508bec91b3507d53544eec19c9c43ebc27.tar.xz
my_new_personal_website-5b2b0c508bec91b3507d53544eec19c9c43ebc27.zip
fixed issue where public was being copied into _deploy
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 4a1e64e9..df96f92b 100644
--- a/Rakefile
+++ b/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 ."