3.0.4 • Published 5 years ago

pon-task-deploy v3.0.4

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

pon-task-deploy

Build Status JS Standard

Pon task to deploy Node.js application via SSH

Installation

$ npm install pon-task-deploy --save

Usage

'use strict'

const pon = require('pon')
const hcDeployTask = require('pon-task-deploy')

async function tryExample () {
  let run = pon({
    myTask01: hcDeployTask({
      host: '192.168.1.20',
      username: 'root',
      privateKey: '/tmp/deploy_rsa'
    })
  })

  run('myTask01')
}

tryExample()

Signatures

define(options) -> function

Define task

ParamtypeDescription
optionsObjectOptional settings
options.hoststringSSH Host IP adress
options.usernamestringSSH user name
options.privateKeystringPrivate key path
options.commandssrting[]Deploy commands

License

This software is released under the Apache-2.0 License.

Links

3.0.4

5 years ago

3.0.3

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago