amaki-aria / amaki-aria.github.io

小梦梦的图书馆
37 stars 4 forks source link

大重构 #3

Closed Gesrua closed 3 years ago

Gesrua commented 3 years ago
  1. 添加 CI
    1. themes/yuripages 自动克隆 master 分支
    2. 自动部署到 gh-pages 分支
  2. 重组文件结构
    1. 所有的内容都应在 content 内书写
    2. 删除 jquery, bootstrap,统一从 cdn.loli.net 引入
    3. https://amaki.kiyume.top/witch 写死的链接换为相对链接 /witch(等
    4. 删除 ./public 文件夹,这个文件夹会由 CI 自动生成部署
  3. 删除失效链接

注意

请在 https://github.com/Yrr0r/yuripages/pull/2 合并完成后再合并

需要切换 GitHub Pages 所显示的分支,从 master -> gh-pages

好处

本机不用运行 hugo,直接修改内容 push 即可,CI 会自动部署,甚至可以再 GitHub 网页端进行所有操作