Skip to content

Commit 9391058

Browse files
committed
Use the specified server to get the ssh fingerprints
1 parent e775fb8 commit 9391058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ then
3939
chmod 600 "$DEPLOY_KEY_FILE"
4040

4141
SSH_KNOWN_HOSTS_FILE="$HOME/.ssh/known_hosts"
42-
ssh-keyscan -H github.com > "$SSH_KNOWN_HOSTS_FILE"
42+
ssh-keyscan -H "$GITHUB_SERVER" > "$SSH_KNOWN_HOSTS_FILE"
4343

4444
export GIT_SSH_COMMAND="ssh -i "$DEPLOY_KEY_FILE" -o UserKnownHostsFile=$SSH_KNOWN_HOSTS_FILE"
4545

0 commit comments

Comments
 (0)