So I am trying to set up some automated git pushing/pulling on an EC2 instance. Doing this super simply via Node:
var add = require('child_process').execSync('git add {FILENAME})
var commit = require('child_process').execSync('git commit -m "{COMMIT_MESSAGE}"')
I created a new ssh key on my EC2 instance, adding it as a deploy key on the GitHub repo and allowed write access.
Everything is working perfectly, except the commit author is coming through as EC2 Default User
. I would like it to be my own GitHub account, so that the commits appear on my profile, etc. How is this possible?