GitHub Pages 说明
前言
GitHub Pages 限制:
- 仓库源推荐限制在 1GB 以内
- 发布的 GitHub Pages 网站不要超过 1 GB
- 站点带宽限制 100GB/月
- 每小时不超过 10 build.
FQA
Q1: 禁用 密码 登录,使用 token 代替1
2
3
4
5
6
7
8
9
10
11[master c724d79] Site updated: 2021-09-25 11:26:17
17 files changed, 164 insertions(+), 117 deletions(-)
Username for 'https://github.com': 用户名
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/blogtao/blogtao.github.io.git/'
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/blogtao/blogtao.github.io.git/'
A1:
生成 token , 用 token 代替 Password
Creating a personal access token1
2
3
4
5
6
7
8[master f81c754] Site updated: 2021-09-25 11:45:48
14 files changed, 188 insertions(+), 141 deletions(-)
Username for 'https://github.com': 用户名
Password for 'https://[email protected]': 输入 token
To https://github.com/blogtao/blogtao.github.io.git
33be274..f81c754 HEAD -> master
Branch 'master' set up to track remote branch 'master' from 'https://github.com/blogtao/blogtao.github.io.git'.
INFO Deploy done: git
参考资料
文档信息
- 版权声明:自由转载-保持署名-非商用-非衍生 ( CC BY-NC-ND 4.0 )