Skip to content
Qiniu Cloud deployer plugin of Hexo.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-deployer-qiniucloud2

Hexo 上的七牛云部署器。

安装

npm install hexo-deployer-qiniucloud2 --save

使用

  1. 注册并登录七牛云

  2. 新建存储空间

  3. 获取密钥(Access/Secret Key)

  4. 编辑_config.yml文件

    deploy:
       type: qiniu
       accessKey: <accessKey>
       secretKey: <secretKey>
       # 华东: Zone_z0, 华北: Zone_z1, 华南: Zone_z2, 北美: Zone_na0, 东南亚: Zone_as0
       zone: <zone>
       # the name of bucket
       scope: <scope>
       # example http://www.a.com/,http://www.b.cn/
       dirsToRefresh: <dirsToRefresh> 
       # default is 3600
       expires: [expires]
       # default is true
       cover: [true|false]
       # default is false
       refreshCdn:  [true|false]
  5. 部署

    hexo deploy
  6. 绑定域名

许可证

MIT

You can’t perform that action at this time.