Hi everyone, my situation is that i have a forge account currently with 2 severs (staging and production). The production server isn't in use yet as we haven't got that far so ignore it for now.
I have a couple of sites added to the staging server, one of which was pulled from a private github repo. THis worked fine, I added the deployment key into github when prompted by forge and then it pulled the repo without any issues.
The problem I now have is that i have a second site running on that server that is also a private repo and forge refuses to pull it down, the error given is:
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have checked the repo name etc and its definitely correct. Futher on after this error Forge requests I make sure I have added the deployment key to my repository on github, I went to do this and it says the key is already in use.
From what I understand a deployment key can only be linked to a single repo.
I could get around the issue by making the repo public (which I think is why the other sites are working fine) but that's not really and option on this project.
How do I overcome this issue so I am able to pull multiple private repos to the same forge server.
Additionally, moving forward the staging server will pull repo A and B using the staging branch and the production server will pull the same repo A and B using the master branch. So, I could really do with help on how best to tackle this as it's my first time using forge and I'm fairly new to github.
Thanks in advance.
Edit: My friend who has colaborator rights to the repo's can pull them to his forge server fine.