Discourse customize theme with private git repo

Hi!

“The theme cannot be installed because the Git repository is inaccessible. Are you sure you want to continue installing it?”

Why do I receive this error when importing theme from private github repo?

I used the correct ssh from github, I created a key in github.

Is it because of misplacement of the file for the CSS of discourse?

Did you use this method?:

5 Likes

I did, but at the step of add deploy key in Discourse and click install in discourse, mine said "The theme cannot be installed because the Git repository is inaccessible. Are you sure you want to continue installing it?”

No, the SSH key is generated in Discourse and must be added to GitHub :slight_smile: (ie the other way around)

1 Like

Yes, I did this, I added the key in GitHub but it’s not working.