Sam_Neaves
(Sam Neaves)
1
I want to be able to run:
nextflow pull https://github.com/AI-Digital-Research/targetevaluator
which is a private repo in github enterprise
I normally access the github with ssh keys, I dont think there is the option to create an access token.
What bash vars do I need and how do I set up the scm file?
Thanks in advance
Hey, @Sam_Neaves. You will find instructions on configuring your credentials to pull private repositories here, in the official docs.
Itβs basically adding credentials about the SCM provider in the $HOME/.nextflow/scm
file, like:
providers {
github {
user = 'your-user-name'
password = 'your-personal-access-token'
}
}
Pay attention to the green box with instructions for the GitHub token in recent versions of Nextflow
Sam_Neaves
(Sam Neaves)
3
Thanks for the reply. I found that information but still no luck in getting it to work :S
I get an error:
WARN: Cannot read project manifest β Cause: Remote resource not found:
Please check the discussion here and see if you can make it work by using what Trevor did. Then, let me know of the outcome, please
Hey, @Sam_Neaves. Have you managed to make it work?
Thanks for the reply and follow up. I have been taken off working on this for the time being so I have not tried your suggestions.
1 Like