Check the project deployments for an error. In my case it showed it was using Github’s no-reply email. In my terminal I put in
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR_GITHUB_EMAIL"
This fixed the problem and I was able to deploy.