mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-11 20:05:06 -05:00
fixed issue where public was being copied into _deploy
This commit is contained in:
parent
27c736bff5
commit
5b2b0c508b
2
Rakefile
2
Rakefile
@ -225,7 +225,7 @@ desc "deploy public directory to github pages"
|
|||||||
multitask :push do
|
multitask :push do
|
||||||
puts "## Deploying branch to Github Pages "
|
puts "## Deploying branch to Github Pages "
|
||||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
(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}"
|
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
||||||
cd "#{deploy_dir}" do
|
cd "#{deploy_dir}" do
|
||||||
system "git add ."
|
system "git add ."
|
||||||
|
Loading…
Reference in New Issue
Block a user