Giter Club home page Giter Club logo

fis3-deploy-alioss's Introduction

fis3 aliyun oss 部署插件

FIS 静态资源部署Aliyun Oss插件。

安装

全局安装或者本地安装都可以。

npm install fis3-deploy-alioss or npm install fis3-deploy-alioss -g

使用方法

使用统一的 deploy 插件配置方法

fis.match('*.js', {
    deploy: fis.plugin('alioss', {
        accessKey: '在阿里云OSS申请的 accessKeyId',
        secretKey: '在阿里云OSS申请的 secretAccessKey',
        bucket: '你的存储空间名称',
        ossServer: '[可选,不填写默认为杭州节点]'
    })
})

参数中ossServer配置服务器地址

参考

Aliyun Oss Api 手册

fis3-deploy-alioss's People

Contributors

daqi avatar iversong avatar zxkane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fis3-deploy-alioss's Issues

请问如何跳过同名文件?

作者您好,由于release的时候采用了hash,所以希望每次release时,不要上传未经更改过的文件,这个要如何实现呢?当前阶段是文件全量覆盖到oss

允许把文件写到bucket内相对路径

AliOSS实现上是没有目录的概念。但仍然提供了特殊object foldername/来组织文件层次。

希望能增加相对路径配置,能更好的管理上传的资源文件。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.