hexo-deployer-qiniucloud2

1.0.14 • Public • Published

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

Package Sidebar

Install

npm i hexo-deployer-qiniucloud2

Weekly Downloads

2

Version

1.0.14

License

MIT

Unpacked Size

8.83 kB

Total Files

6

Last publish

Collaborators

  • howardliu