yuque-hexo 同步文档
安装 hexo 和 yuque-hexo
1 | npm install -g cnpm --registry=https://registry.npmmirror.com |
配置文件
1 | "yuqueConfig": { |
同步命令 Windows
1 | set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync |
同步文章并部署远端并推送仓库
1 | set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo deploy && git add . && git commit -m "edit" && git push origin master |
同步部署本地命令 Windows
1 | set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo server |
同步部署远端命令 Windows
1 | set YUQUE_TOKEN=G9AVFIsLTY6LIvFOwkMbUTOvPHgkmG4oHWSz7T7c && yuque-hexo sync && hexo clean && hexo deploy |
同步 github 命令 Windows
1 | git add . && git commit -m "edit" && git push origin master |
yuque-hexo 同步文档
https://blog.josway.cc/2022/04/25/yuque/yuque-hexo 同步文档/