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.

19 lines (14 loc) 276 B
'use strict' const client = require('../octopus-client') const find = async id => { const url = `/releases/${id}` return client.get(url) } const create = async data => { const url = '/releases' return client.post(url, data) } module.exports = { find, create }