Restored copying public into _deploy. fixes #169
This commit is contained in:
parent
4efb29394f
commit
fcb730b5bf
1
Rakefile
1
Rakefile
@ -227,6 +227,7 @@ multitask :push do
|
|||||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
||||||
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
||||||
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
||||||
|
system "cp -R #{public_dir}/* #{deploy_dir}"
|
||||||
cd "#{deploy_dir}" do
|
cd "#{deploy_dir}" do
|
||||||
system "git add ."
|
system "git add ."
|
||||||
system "git add -u"
|
system "git add -u"
|
||||||
|
Loading…
Reference in New Issue
Block a user