diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-09 23:48:37 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-09 23:48:37 +0200 |
commit | 36391cb333c62e489e0fc25a43d520d6e1e8b8d7 (patch) | |
tree | 33ccacfd3777c68765cbd850991a224b377d85f6 | |
parent | 14137fe1e078d1eda7bf923ec1268e9f0c789c9a (diff) | |
download | ansible-memzero-36391cb333c62e489e0fc25a43d520d6e1e8b8d7.tar.gz ansible-memzero-36391cb333c62e489e0fc25a43d520d6e1e8b8d7.zip |
zola: show last commit when building blog
-rwxr-xr-x | roles/git/files/runner-zola/webhook.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/git/files/runner-zola/webhook.sh b/roles/git/files/runner-zola/webhook.sh index b009c63..4f665d4 100755 --- a/roles/git/files/runner-zola/webhook.sh +++ b/roles/git/files/runner-zola/webhook.sh @@ -24,6 +24,7 @@ while true; do git -C blog fetch --prune echo "Checking out & deploying ref: $REF" git -C blog checkout --quiet $REF || continue + git -C blog log -n1 zola --root blog build || continue |