fix: remove hardcoded github domain
This commit is contained in:
parent
3ec5d3260e
commit
e34a6e96e1
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue