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:
@@ -78,7 +78,7 @@ class ThemeStore::GitImporter
|
|||||||
end
|
end
|
||||||
|
|
||||||
Discourse::Utils.execute_command({
|
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)
|
}, "git", "clone", @url, @temp_folder)
|
||||||
ensure
|
ensure
|
||||||
FileUtils.rm_rf ssh_folder
|
FileUtils.rm_rf ssh_folder
|
||||||
|
|||||||
Reference in New Issue
Block a user