Hexo 站点源文件
Hexo 主题:Yun
- 主站:yunyoujun.cn | yunyoujun.github.io
- 备用:https://yunyoujun.netlify.app
- Hexo 版本存档:https://hexo.yunyoujun.cn
- 笔记:https://notes.yunyoujun.cn
- 赞助:https://sponsors.yunyoujun.cn
Use
日常发布
发布时,同时推送至 GitHub 与 Coding 的 hexo 分支备份,使用 CI (GitHub Actions) 生成静态页面推送至 GitHub
npm run backup
# or
# yarn backup
# or
sh backup.sh
# sh backup.sh 'change info'
BackUp
git clone https://github.com/YunYouJun/yunyoujun.github.io
# coding
git remote add coding https://e.coding.net/YunYouJun/yunyoujun.coding.me.git
同时推送
git remote set-url --add origin https://e.coding.net/YunYouJun/yunyoujun.coding.me.git
Build
yunyoujun.github.io - Travis CI- GitHub Actions: 现已改为使用 GitHub Actions
Install Theme
git clone https://github.com/YunYouJun/hexo-theme-yun themes/yun
More info about hexo-theme-yun
CDN
JSDELIVR
- Prefix: https://cdn.yunyoujun.cn/
腾讯云
刷新目录
# 注意这里的参数是 Array
tccli cdn PurgePathCache --Paths '["https://www.yunyoujun.cn/links/"]' --FlushType flush
刷新路径
tccli cdn PurgeUrlsCache --Urls '["https://www.yunyoujun.cn/links/index.html"]'
又拍云
图床:又拍云云存储 + PicGo = https://upyun.yunyoujun.cn
Commit Lint
git commit -m 'xxx'
更新博客内容
📝 update
Fixing typos
✏️ typo
UI
💄 xxx
Improving structure / format of the code
🎨 xxx
Fixing CI Build
💚 travis
Changing configuration files
🔧 config
Other
chore(xxx): xxx
FAQ
submodule
git submodule add https://github.com/YunYouJun/hexo-theme-yun themes/yun