From 36391cb333c62e489e0fc25a43d520d6e1e8b8d7 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 9 Apr 2025 23:48:37 +0200 Subject: zola: show last commit when building blog --- roles/git/files/runner-zola/webhook.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3