fix: remove hardcoded github domain

This commit is contained in:
Glenn Y. Rolland 2021-05-08 17:24:48 +02:00
parent 3ec5d3260e
commit e34a6e96e1

View file

@ -55,8 +55,7 @@ if [ -n "$GITIT_REMOTE_REPOSITORY" ]; then
mkdir -p /root/.ssh
cat > /root/.ssh/config <<-MARK
Host github.com
User git
Host $GITIT_REMOTE_DOMAIN
IdentityFile /data/ssh/mirror_rsa
MARK
chmod 600 /root/.ssh/config