Use correct time in log message for Github deploy
This commit is contained in:
parent
f6ed4125b5
commit
c23be69915
2
Rakefile
2
Rakefile
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user