mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-06-23 04:44:54 +00:00
Skip commit signing in post-link for non-interactive SSH
This commit is contained in:
parent
67d3852c6c
commit
776f8a1025
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue