Use SSH keys for private github repository #2308
Unanswered
bastien70
asked this question in
Help needed
Replies: 2 comments 2 replies
-
Use deploy keys for this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
but this doesn't work if you have two reports that you want to pull from. I have tried to get two deploys from two different repos (same owner) to use two different public keys and it just will not work. Has anyone else had this issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deployer version : v6.8.0
Hello, I am trying to use deployer to deploy a private github repository.
After various research, this is what I did:
I added a deployment key in my github repository (the same one I use to connect in SSH to my o2Switch server with Deployer)
In my "deploy.php" file, I changed the way to declare my repository, to use SSH:
[email protected]:bastien70/tuto-deployer.git
But when I launch the dep deploy -vvv command, when it tries to clone the repository, this is what I have:
Beta Was this translation helpful? Give feedback.
All reactions