[email protected]: Permission denied (publickey) #3630
Unanswered
asudyn
asked this question in
Help needed
Replies: 1 comment 2 replies
-
It is called deploy keys. Add it to your server. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following this tutorial to set up a GitHub Action that would trigger deployment of my PHP Laravel app to a server. I've configured the keys on my server correctly and it does connect to it. But it can't clone my github repository.
In deploy PHP I'm corectly setting the repo:
set('repository', '[email protected]:asudyn/my-repo.git');
But when action runs it fails at this part:
My repo is private. So maybe I need to add a private key for GitHub somewhere? But I can't find where to do this in docs or online.
My workflow yml and deploy.php are basically the same as in the tutorial with some minor edits to account for latest version changes.
Beta Was this translation helpful? Give feedback.
All reactions