Use correct time in log message for Github deploy

main
Timothy Macdonald 11 years ago
parent f6ed4125b5
commit c23be69915

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

Loading…
Cancel
Save