ares-deploy-zip

ares deploy zip

Usage no npm install needed!

<script type="module">
  import aresDeployZip from 'https://cdn.skypack.dev/ares-deploy-zip';
</script>

README

fis-deploy-zip

说明

将FIS产出进行zip打包并上传至指定服务 仅支持FIS 1.8.5+

使用方法

安装

npm i fis-deploy-zip -g

启用

fis.config.set('modules.deploy', ['default', 'zip'])

配置

fis.config.set('settings.deploy.zip', {
    publish : [{
        from : '/public',
        to: '/abc',
        include : ["/public/**"],
        file: './output/www.zip',
        "server": {
            "receiver": "http://127.0.0.1:8888/api/upload",
            "data": {
                "appId":123

            }
        }
    }]
});

发布

fis release -D publish