0.0.18 • Published 1 year ago

deploy-scp v0.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

deploy-scp

Description

A front end deploy tool for scp. init config file in your project root directory by command sdeploy init, and edit config file to your need. then you can simple deploy your project to remote server by command sdeploy -n xxx.

Useage

  1. global install tool sudo npm install deploy-scp -g
  2. init config file sdeploy init
  3. edit config file to your need
  4. deploy sdeploy -n xxx(your namespace)

Config Field

{
    // write your local build output dir
    buildDir: 'dist',
    // remote servers config
    servers: [{
        // write your deploy namespace, should be unique, use in deploy command to select which server to deploy
        namespace: '',
        // write your remote server host
        host: '',
        // write your remote server static file path
        targetPath: '',
        // write your remote server username
        username: 'root',
        // write your remote server port, default is 22
        port: '22',
        // write your local build command, default is npm run build
        buildCmd: 'npm run build',
    }]
}
0.0.18

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago