Having reviewed this post on accessing private repos, I’m still stick on a particular problem.
I’m attempting to access a gem via third-party, private github repo, specifically the excellent Hydejack jekyll theme. As a paid customer, I have access to the “PRO” package as a .zip archive or a gem, via ssh key provided with the .zip archive. Configuring my
~.ssh/config and adding the private key to
~.ssh/, the build works as expected locally, per these directions.
For Netlify, I’ve attempted:
~.sshto my private gitlab repo
SSH_CONFIGas build environment variables combined with a custom build command along the lines of the above post.
Both fail, as follows:
11:12:01 PM: Fetching git@hydejack:qwtel/hydejack-8-pro.git 11:12:01 PM: ssh: Could not resolve hostname hydejack: Name or service not known
This would seem to indicate that
~.ssh/config isn’t being created or read.
Does anyone have a better approach to accessing a private, third-party repo where neither tokens nor private/public keypairs are an option?