Skip to content

lingtal/nm-deploy-http-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nm-deploy-http-push

说明

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

使用方法

也可以使用统一的 deploy 插件配置方法。exclude 支持数组

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

Releases

No releases published

Packages

No packages published