mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user