Use correct time in log message for Github deploy

This commit is contained in:
Timothy Macdonald 2014-05-17 15:08:38 -05:00
parent f6ed4125b5
commit c23be69915

View File

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