|
|
|
@ -257,7 +257,7 @@ multitask :push do
|
|
|
|
|
cp_r "#{public_dir}/.", deploy_dir
|
|
|
|
|
cd "#{deploy_dir}" do
|
|
|
|
|
system "git add -A"
|
|
|
|
|
puts "\n## Commiting: Site updated at #{Time.now.utc}"
|
|
|
|
|
puts "\n## Committing: Site updated at #{Time.now.utc}"
|
|
|
|
|
message = "Site updated at #{Time.now.utc}"
|
|
|
|
|
system "git commit -m \"#{message}\""
|
|
|
|
|
puts "\n## Pushing generated #{deploy_dir} website"
|
|
|
|
|