yuque-hexo 同步文档 https://github.com/x-cold/yuque-hexo 安装 hexo 和 yuque-hexo12345678npm install -g cnpm --registry=https://registry.npmmirror.comcnpm i -g yuque-hexocnpm i -g hexo-cliornpm i -g yuque-hexo --registry=https://registry.npmmirror.comnpm i -g hexo-cli --registry=https://registry.npmmirror.com 配置文件123456789101112131415161718192021"yuqueConfig": { "postPath": "source/_posts/yuque", "cachePath": "yuque.json", "mdNameFormat": "title", "adapter": "hexo", "concurrency": 5, "baseUrl": "https://www.yuque.com/api/v2", "login": "josway", "repo": "ou8sgv", "onlyPublished": false, "onlyPublic": false, "lastGeneratePath": "lastGeneratePath.log", "imgCdn": { "enabled": false, "imageBed": "qiniu", "host": "", "bucket": "", "region": "", "prefixKey": "" }} 同步命令 Windows1set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync 同步文章并部署远端并推送仓库1set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo deploy && git add . && git commit -m "edit" && git push origin master 同步部署本地命令 Windows1set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo server 同步部署远端命令 Windows1set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo deploy 同步 github 命令 Windows1git add . && git commit -m "edit" && git push origin master Tutorial > Hexo #yuque-hexo yuque-hexo 同步文档 https://blog.josway.cc/2022/04/25/Tutorial/Hexo/yuque-hexo 同步文档/ 作者 JOSWAY 发布于 2022年4月25日 许可协议 yuque-hexo 图片修复 fluid主题 上一篇 Frps + Frpc 使用指南 下一篇