System Information
- Strapi Version: 3.6.3
- Operating System: Ubuntu 20.04.2
- Database: PostgreSQL
- Node Version: 14.17.1
- NPM Version: 6.14.13
- Yarn Version: 1.22.10
I followed the guide from the Strapi Docs to get up and running on a VPS (DigitalOcean Droplet).
The guide was pretty good and got me set up, but my problem is with the ‘Setting up a webhook on DigitalOcean / Github’ part of the guide. The issue is simply VPS related though and the fact it’s on DigitalOcean is probably beside the point.
The issue is with the git pull
part. I get an authorisation error when it’s performed. If I pull manually, I can simply add my credentials when prompted but since it’s automated, I can’t.
I tried adding an SSH Key which seems to be set up correctly and accepted by github, this didn’t solve it.
I tried modifying the pull request by adding the .ssh link like git pull git@github.com:UserName/GitRepo.git
and still the same result.
Does anybody know a way around this? Automated re-builds from git would be really nice to have. Could it have anything to do with the .ssh directory being within my non-root-user directory?
Thanks for any help.