summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selfpublish.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index f244dbd..299c381 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -614,7 +614,8 @@ write_cgit_config()
614 then 614 then
615 mkdir -p "$cgit_scan_dir" 615 mkdir -p "$cgit_scan_dir"
616 (cd "$cgit_scan_dir" 616 (cd "$cgit_scan_dir"
617 git clone --bare "$UPSTREAM" selfpublish.sh) 617 GIT_SSH_COMMAND='ssh -i /etc/ssh/ssh_host_ed25519_key' \
618 git clone --bare "$UPSTREAM" selfpublish.sh)
618 else 619 else
619 git push --all "$cgit_scan_dir"/selfpublish.sh 620 git push --all "$cgit_scan_dir"/selfpublish.sh
620 fi 621 fi