Today, I suddenly got this messsage when I deploy my blog to Github.

remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.

remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.

  • To solve this, you first need to get the persosnal accesss token in reference to the following website.

https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

  • Copy the token and revise the _config.yml underr Hexo in the following way.
1
2
3
4
5
deploy:
type: git
repository: https://GITHUB_ACCESS_TOKEN@github.com/your-github-id/your-github-repo-name.git
# it works with or without .git in the end
branch: master

Reference: https://cyfeng.science/2020/01/31/hexo-github-action/