Plugin hook using a private repository

Having created a discourse plug for a customer which is located in a private git repository, and added it to the hooks section of app.yml, I need to allow git access.

How do I setup the proper credentials to make it work?

Make a hook script that drops an SSH private key into /root/.ssh/id_rsa, then reference the git repo as an SSH-accessible one.

4 Likes

Sounds good! Can you please explain in more detail to a newbie?