Skip to content

Commit

Permalink
FIX: unable to import private themes due to key checking
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Apr 3, 2018
1 parent 54819d7 commit f1ef46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/theme_store/git_importer.rb
Expand Up @@ -78,7 +78,7 @@ def import_private!
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
Expand Down

1 comment on commit f1ef46d

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/how-to-source-a-theme-from-a-private-git-repository/82584/14

Please sign in to comment.