|
|
@ -230,7 +230,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}"
|
|
|
|
cp_r "#{public_dir}/*", deploy_dir
|
|
|
|
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"
|
|
|
|