index.html + assets/ + scripts/ + styles/)上传到 GitHub 仓库。index.html 必须在 仓库根目录。进入仓库 → Settings → Pages
在 Build and deployment 配置:
保存后等待几分钟,GitHub 会生成一个访问地址:
https://<用户名>.github.io/<仓库名>/
index.html 不在根目录,或者部署未更新。
index.html 到根目录;或重新触发构建(新建 .nojekyll 文件、修改 README)。./assets/img.jpg。
