DEV Community

Discussion on: How to set up a CI/CD Pipeline for a node.js app with Github Actions

Collapse
 
tlochhead profile image
Tavis Lochhead

Hi - thanks for writing this! This got me 90% there. I'm trying to deploy a private repo and I get the following error:

err: fatal: could not read Username for 'github.com': No such device or address

I'm able to log into the server and all, but this error prevents git pull from working.

I added my SSH key to my GitHub account, but that doesn't solve the problem.

Let me know if you have a solution for this.

Collapse
 
chathula profile image
Chathula Sampath

I think that you are using https remote urls instead of SSH urls. Check those and replace it with SSH remote urls.

git remote -v