Skip to content

Deploying to external repository, getting access denied #537

Answered by emmahsax
emmahsax asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm.... actually after more digging, I guess it works with SSH as well. If I set ssh: true, and then do the steps here: https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-, it works. I added the public key (*.pub) to the destination repository, and the private key as a secret on the source repository. Thanks for the decent documentation on using the SSH keys!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JamesIves
Comment options

@emmahsax
Comment options

Answer selected by emmahsax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants