aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2022-04-22 10:50:38 -0700
committerAlec Warner <antarus@gentoo.org>2022-04-22 10:50:38 -0700
commit47d027ef72225fc40518dc3e9a465895a73d115b (patch)
tree0b5e34b8f201a1e8ea4709567fd139f984c3c2a2
parentUpdate our wrappers. (diff)
downloadgithooks-47d027ef72225fc40518dc3e9a465895a73d115b.tar.gz
githooks-47d027ef72225fc40518dc3e9a465895a73d115b.tar.bz2
githooks-47d027ef72225fc40518dc3e9a465895a73d115b.zip
Don't let gitolite override the push-key.githooks-20220422T175038Z
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rwxr-xr-xgitlab-mirror/gitlab-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab-mirror/gitlab-mirror b/gitlab-mirror/gitlab-mirror
index 5daf384..f33c8fc 100755
--- a/gitlab-mirror/gitlab-mirror
+++ b/gitlab-mirror/gitlab-mirror
@@ -15,7 +15,7 @@ fi
targets=$(git config --get gitlab.mirror.url)
[ -z "${targets}" ] && exit 0
-[ -z "${GIT_SSH_KEY}" ] && export GIT_SSH_KEY=$(git config --get gitlab.mirror.pubkey)
+[ -z "${GIT_SSH_KEY}" ] && export ~/gitlab-ssh-key
export GIT_SSH=$(dirname "$(readlink -f "$0")")/gitlab-ssh-wrapper
for target in ${targets}; do