Travis CI deployment failed to GitHub pages

I’ve been trying to get my build deployed on GitHub pages but for some reason it has been failing lately. I tried downgrading the dpl version and enabling force push in branch protection, none of which have worked. Below is the message I see in the console logs.

Doing the git push (workdir: /tmp/d20200412-8210-1vow1mn/work)...
Couldn't push the build to github.com/GLaDO8/GLaDO8.github.io.git:master
failed to deploy

Anybody has any idea why this is happening?

When reporting problems, please consider including:

  1. What you are trying to achieve
  2. What you have tried (probably a link to the configuration)
  3. What happened instead (often, pointing to a build log URL, in the form of https://travis-ci.com/OWNER/REPO/build/NNNNNNN would be helpful).