How to use the calibre.Deploy.create function in calibre

To help you get started, we’ve selected a few calibre examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github calibreapp / cli / examples / nodejs / deploys / create.js View on Github external
const createDeploy = async () => {
  // Required
  const site = 'calibre'

  // Optional
  const revision = 'v100'
  const repository = 'https://github.com/calibreapp'
  const username = 'micdijkstra'
  const createdAt = '2019-04-25T04:11:00+10:00'

  // Create the deploy
  const deploy = await Deploy.create({
    site,
    revision,
    repository,
    username,
    createdAt
  })

  // Output the formatted JSON response
  console.log(JSON.stringify(deploy, null, 2))
}

calibre

Calibre - Page speed performance testing with Google Lighthouse

MIT
Latest version published 11 days ago

Package Health Score

81 / 100
Full package analysis