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.

Same issue here.

Hi,

@Learnmore_smart @jsimon6

I tested again the guide Robert linked above (Installing a theme from a private Git repository), and it works as expected.

Images

Did you follow the steps? Give it another try report back if you encounter an issue.

4 Likes

Hi @Learnmore_smart welcome :wave:
did you get it working yet?

I wrote that guide and I just tested. it is working exactly as expected. make sure you have admin level access to the private repo and are using the SSH repo address when you install it on your forum.

1 Like

Our team is currently developing another feature, we will come back to this I guess around a few weeks. Thanks guys!

1 Like