From 776f8a1025aa7cb6cf64d30ca92911400601c8a8 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 21 Jun 2026 19:23:13 -0700 Subject: [PATCH] Skip commit signing in post-link for non-interactive SSH --- bin/post-link | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/post-link b/bin/post-link index d895e78..bcf1557 100755 --- a/bin/post-link +++ b/bin/post-link @@ -52,7 +52,8 @@ echo " $post_path" >&2 slug="$(basename "$post_path" .md)" echo "==> Committing and pushing" >&2 git add "$post_path" -git commit -m "Add link post: $slug" >&2 +# Skip commit signing: non-interactive SSH can't unlock a passphrased key. +git -c commit.gpgsign=false commit -m "Add link post: $slug" >&2 git push "$REMOTE" "HEAD:$BRANCH" >&2 echo "==> Building and publishing" >&2