Skip to content

YunYouJun/yunyoujun.github.io

Repository files navigation

云游君的小站站点源文件

Deploy Valaxy site to GitHub Pages Netlify Status

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

旧版 - Hexo 版本

Install Theme

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

More info about hexo-theme-yun

CDN

JSDELIVR

JSDELIVR

腾讯云

Tencent Cloud

# https://cloud.tencent.com/document/product/440/111345
tccli auth login

EdgeOne 刷新缓存

# EdgeOne yunyoujun.cn
# https://cloud.tencent.com/document/product/1552/70759
tccli teo CreatePurgeTask --ZoneId zone-32usfya3lb5o --Type purge_host --Targets '["www.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"]'

又拍云

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