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 mkdir -p /root/.ssh
cat > /root/.ssh/config <<-MARK cat > /root/.ssh/config <<-MARK
Host github.com Host $GITIT_REMOTE_DOMAIN
User git
IdentityFile /data/ssh/mirror_rsa IdentityFile /data/ssh/mirror_rsa
MARK MARK
chmod 600 /root/.ssh/config chmod 600 /root/.ssh/config