Necessitates Proper Modularity

    ares-deploy-zip

    0.0.4 • Public • Published

    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

    Keywords

    none

    Install

    npm i ares-deploy-zip

    DownloadsWeekly Downloads

    11

    Version

    0.0.4

    License

    ISC

    Last publish

    Collaborators

    • ares