better cron output
This commit is contained in:
parent
d931e81f09
commit
cbf7ecbbab
|
@ -45,5 +45,6 @@ if has_updates; then
|
||||||
output '</table>'
|
output '</table>'
|
||||||
output "<footer><a href=\"https://kageru.moe/contact/\">Contact</a><br/>generated on $(date '+%d.%m.%y at %H:%M:%S')</footer>"
|
output "<footer><a href=\"https://kageru.moe/contact/\">Contact</a><br/>generated on $(date '+%d.%m.%y at %H:%M:%S')</footer>"
|
||||||
# Human-readable output for the cron notification
|
# Human-readable output for the cron notification
|
||||||
echo "Updated blog to $(git shortlog | tail -n2 | head -n1)"
|
echo 'Updated blog to:'
|
||||||
|
git log -1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user