Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis3-deploy-bos

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-deploy-bos

发布文件到百度云

  • 1.1.0
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source
支持功能
- 目前只支持文件传送到百度云bos
- 支持缓存,只传改过的文件
- 支持三次失败重试上传, 即使三次都失败了。仍然可以重新编译。传成功的文件也不会在传了
配置使用方法
    var deployBos = fis.plugin('bos', {
        cache: true,                  //默认true, 可以不传, 不缓存的话会全量传
        parallelUploadFile: '2',      //并发上传文件个数, 可以不传,默认2个
        dir: domain.dir,              // 这个主要支持bucket下多个项目目录的情况,可以不传
        bucket: '百度bucket',
        endpoint: 'http://bos.bj.baidubce.com',
        ak: '你的ak',
        sk: '你的sk',
        include: ['/*.css', '/*.js'],  //发布的文件需要include,支持glob
    });

    media.match('**', {
        deploy: [
            deployBos
        ]
    });

Keywords

FAQs

Package last updated on 17 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc