☁ GitHub Pages 部署
Actions文件在:.github/workflows/static.yml
- Fork 和 ⭐Star 此仓库。
- 在
Settings->Pages里面找到Build and deployment。 - 在
Source选项选择GitHub Actions。 - (可选)在
Custom domain里可以添加你自己的域名。 - 编辑
src/config.json,把内容替换成你自己想要的。 - 转到
Actions,开启它,在左菜单里找到Build and deploy to Github Pages。- 手动触发:点击 Run Workflow。
- 自动触发:每当更改任何文件会自动触发。
祝你一切顺利~