UNPKG

octopus-deploy

Version:

Node scripts to package up applications, create releases, and deploy with Octopus Deploy. This package leverages the Octopus Deploy REST API in order to deploy from Windows and non-Windows machines.

21 lines (15 loc) 352 B
'use strict' const client = require('../octopus-client') const findAll = async () => { const url = '/machines/all' const result = await client.get(url) return result.valueOrDefault([]) } const deleteMachine = async id => { const url = `/machines/${id}` return client.delete(url) } module.exports = { delete: deleteMachine, findAll }