aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2025-04-09 23:48:37 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2025-04-09 23:48:37 +0200
commit36391cb333c62e489e0fc25a43d520d6e1e8b8d7 (patch)
tree33ccacfd3777c68765cbd850991a224b377d85f6 /roles
parent14137fe1e078d1eda7bf923ec1268e9f0c789c9a (diff)
downloadansible-memzero-36391cb333c62e489e0fc25a43d520d6e1e8b8d7.tar.gz
ansible-memzero-36391cb333c62e489e0fc25a43d520d6e1e8b8d7.zip
zola: show last commit when building blog
Diffstat (limited to 'roles')
-rwxr-xr-xroles/git/files/runner-zola/webhook.sh1
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