ember-cli-deploy-netlify-cli

2.0.0 • Public • Published

ember-cli-deploy-netlify-cli

Integrate your deploy pipeline with netlify manual deploys using netlify-cli.

Compatibility

  • ember-cli-deploy v1.0 or above
  • Node.js v8 or above

Installation

ember install ember-cli-deploy-netlify-cli

Usage

Add plugin config to your config/deploy.js:

{
  'netlify-cli': {
    siteId: 'netlify-site-id',
    authToken: process.env.NETLIFY_AUTH_TOKEN
  }
}

Extra config:

  • promoteToProd (DEFAULT: true) - Promote deploy to production
  • functionsDir - (DEFAULT: '') - Specify a functions folder to deploy
  • destDir (DEFAULT: ember dist) - Specify a folder to deploy
  • message (DEFAULT: app version) - Specify a deploy message

Optionally you can set revision type to version-commit to have unified versioning pattern:

{
  'revision-data': {
    type: 'version-commit'
  }
}

Leave the rest for netlify-cli ;) Deploy! 🚀✌️

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i ember-cli-deploy-netlify-cli

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

5.13 kB

Total Files

4

Last publish

Collaborators

  • exelord