Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Qiniu Cloud deployer plugin of Hexo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published