FIX: unable to import private themes due to key checking
This commit is contained in:
parent
54819d72c9
commit
f1ef46d7b7
|
@ -78,7 +78,7 @@ class ThemeStore::GitImporter
|
|||
end
|
||||
|
||||
Discourse::Utils.execute_command({
|
||||
'GIT_SSH_COMMAND' => "ssh -i #{ssh_folder}/id_rsa"
|
||||
'GIT_SSH_COMMAND' => "ssh -i #{ssh_folder}/id_rsa -o StrictHostKeyChecking=no"
|
||||
}, "git", "clone", @url, @temp_folder)
|
||||
ensure
|
||||
FileUtils.rm_rf ssh_folder
|
||||
|
|
Loading…
Reference in New Issue