Skip to content

Commit

Permalink
Merge pull request #2078 from travis-ci/gh-rsa-lxd-2
Browse files Browse the repository at this point in the history
Update clone.rb
  • Loading branch information
r-arek committed Mar 24, 2023
2 parents 1574835 + 4342e38 commit 67f1396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/travis/vcs/git/clone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Clone < Struct.new(:sh, :data)
def apply
sh.fold 'git.checkout' do
sh.export 'GIT_LFS_SKIP_SMUDGE', '1' if lfs_skip_smudge?
sh.cmd 'ssh-keygen -R github.com || true >/dev/null 2>&1', echo: false
sh.cmd 'ssh-keygen -R github.com >/dev/null 2>&1 || true', echo: false
sh.file '~/.ssh/known_hosts', <<~EOF, append: true, echo: false
github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
Expand Down

0 comments on commit 67f1396

Please sign in to comment.