summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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