Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hexo-deployer-upyun-pro

yjh26434081238ISC1.2.0

Hexo deployer plugin for UPYUN, with auto remote cleaning feature.

upyun, 又拍云, 云部署, 云存储

readme

hexo-deployer-upyun-pro

Hexo 博客又拍云部署插件,支持自动清理远程多余文件。

本项目修改至 hexo-deployer-upyun2019(https://github.com/abcdGJJ/hexo-deployer-upyun2019) 版本,增加自动清理远端多余文件功能。

安装

npm install hexo-deployer-upyun-pro --save

用法

编辑根目录的_config.yml文件的deploy字段

配置又拍云存储的服务名称、操作员名称、操作员密码

deploy:
  - type: upyun # 必须是 upyun
    serviceName: 服务名称
    operatorName: 操作员名称
    operatorPassword: 操作员密码
    path: / # 上传目录(选填,默认为根目录)
    autoclean: false # 是否开启自动清理远端多余文件(可选,默认为 false,如果为 true,则会删除本地 public 文件夹中不存在而远端服务名对应 path 下存在的文件)

changelog

Changelog

[1.2.0] - 2025-06-19

Fixed and Added

  • 支持自动清理远端多余文件(autoclean 配置项)
  • 优化云端文件递归遍历,提升目录兼容性
  • 上传与删除操作增加详细日志输出,便于调试
  • 增强错误处理,失败时详细记录原因
  • 代码结构优化,提升可读性和维护性

[1.1.0] - 2025-06-19

Fixed and Added

  • 修复云端文件递归遍历时部分目录未能正确列出的问题
  • 优化上传与删除操作的日志输出,便于调试和排查问题
  • 增强错误处理,上传或删除失败时会详细记录失败原因
  • 代码结构优化,提升可读性和维护性

[1.0.0] - 2025-06-18

Added

  • 初始化项目核心功能