fis3-deploy-http-push-with-token

1.0.0 • Public • Published

fis3 http 部署插件

FIS 默认的部署插件,提供本地部署以及远程upload部署能力。

安装

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

npm install fis3-deploy-http-push-with-token

使用方法

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

fis.match('*.js', {
    deploy: fis.plugin('http-push-with-token', {
        //如果配置了receiver,fis会把文件逐个post到接收端上
        receiver: 'http://www.example.com:8080/receiver.php',
        //这个参数会跟随post请求一起发送
        token: 'your token here',
        to: '/home/fis/www'
    })
})

Readme

Keywords

Package Sidebar

Install

npm i fis3-deploy-http-push-with-token

Weekly Downloads

1

Version

1.0.0

License

BSD

Last publish

Collaborators

  • mfylee