Skip to content

YunYouJun/yunyoujun.github.io

hexo
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hexo 站点源文件

GitHub Pages Netlify Status

Hexo 主题:Yun

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

Install Theme

git clone https://github.com/YunYouJun/hexo-theme-yun themes/yun

More info about hexo-theme-yun

CDN

JSDELIVR

JSDELIVR

由于 cdn.jsdelivr.net 已被污染,建议使用 https://fastly.jsdelivr.net。

腾讯云

Tencent Cloud

刷新目录

# 注意这里的参数是 Array
tccli cdn PurgePathCache --Paths '["https://www.yunyoujun.cn/links/"]' --FlushType flush

刷新路径

tccli cdn PurgeUrlsCache --Urls '["https://www.yunyoujun.cn/links/index.html"]'

又拍云

upyun

图床:又拍云云存储 + PicGo = https://upyun.yunyoujun.cn

Commit Lint

gitmoji

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

�.gitmodules

git submodule add https://github.com/YunYouJun/hexo-theme-yun themes/yun