Hello, in trying to set up github content deployment on Connect I'm getting the following error. We are using a private repo and credentials have been setup in the config file but the error is the same on private or public repos. When I run the git command in the error I always see the SHA for the manifest.json, so is it something in there perhaps? Using Connect v1.8.16 to rsconnect::Writemanifest() and have tried a more explicit
Working on the assumption that you've configured your Connect config file correctly (according to instructions, and your config file looks similar to this:
Thanks for the speedy reply. I used rscadmin to generate the encrypted github password on the Connect linux server and then pasted it into the config file in the format you outline. When I run the following command on the server I do get a reply from github with the SHA of the manifest.json after supplying the same username and password,
/usr/bin/git ls-remote --quiet --refs --heads https://github.com/~/~. Also, temporarily changing the repo to public produces the same error, so I assumed that ruled out authentication issues.
Here's the git response on the linux server:
[~@~ ~]$ /usr/bin/git ls-remote --quiet --refs --heads https://github.com/~/~
Username for 'https://github.com':
Password for 'https://@github.com':
72e410f4509600398ed015d4c4995936d4e28a50 refs/heads/master