Discourse customize theme with private git repo

AI-generated summary

Users are discussing issues with installing a Discourse theme from a private Git repository. Learnmore_smart reports an error stating the Git repository is inaccessible during installation. merefield references a guide for installing themes from private repositories, which Learnmore_smart confirms they followed, including adding a deploy key. jsimon6 mentions experiencing the same issue. Arkshine confirms the guide works and provides images demonstrating the process, including adding a deploy key and installing the theme. Lilly, the guide’s author, checks in with Learnmore_smart to see if the issue is resolved. Learnmore_smart explains their team is working on another feature and will revisit the issue later.

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?:

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)

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.

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.

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