m-fe-plugin-deploy
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

m-fe-plugin-deploy

部署文件至ssh或者oss插件

Getting Started

fe deploy 自动安装插件

使用

  • fe deploy init 创建配置文件,需要选择oss和ssh的配置文件
  • fe deploy init --type=xxx 创建xxx类型的配置文件,只支持oss和ssh
  • fe deploy 自动根据deploy.config.js内容进行发布

option

参数名 类型 默认值 说明
type 'oss'| 'ssh' - 部署类型
file string 'deploy.config.js' 配置文件名

执行流程

fe deploy init 创建配置文件,需要选择类型;

fe deploy

  1. 如果没有deploy.config.js 则进入创建流程,需要用户填写config内容后重新fe deploy;
  2. 如果deploy.config.js 存在,则自动根据config.type 来进行操作

Package Sidebar

Install

npm i m-fe-plugin-deploy

Weekly Downloads

1

Version

0.1.12

License

BSD-3-Clause

Unpacked Size

33.8 kB

Total Files

14

Last publish

Collaborators

  • chj736881645