Hello,
I am trying to create a new package with PkgTemplates for a repo that uses ssh. After going through the documentation, It is not clear how to set ssh to true for the Git plugin. How can this be accomplished?
Thanks!
Hello,
I am trying to create a new package with PkgTemplates for a repo that uses ssh. After going through the documentation, It is not clear how to set ssh to true for the Git plugin. How can this be accomplished?
Thanks!
Sorry. False alarm. I found the answer.
Update
In the documentation, I found an example showing how to edit the Git object. However, I am having trouble selecting the correct configuration. I am using ssh. Outside of PkgTemplates, it is working correctly, and using the key. However, with PkgTemplates, it is asking for the password which suggests it is not finding the ssh key. Here is what I am doing:
using PkgTemplates
t = Template(user="MyUserName",
host = "git@gitlab.info.removed",
plugins=[
License(; name="MIT"),
Git(; ssh=true),
Codecov(),
Documenter{GitHubActions}(),
Develop(),
],)
t("MyPackage")
In the above, I removed the exact host name. Do I need to do something else to direct it to the ssh key path?