An open API service indexing awesome lists of open source software.

https://github.com/emberexperts/ember-cli-deploy-netlify-cli

Integrate your deploy pipeline with netlify manual deploys using netlify-cli.
https://github.com/emberexperts/ember-cli-deploy-netlify-cli

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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`:
```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:
```js
{
'revision-data': {
type: 'version-commit'
}
}
```

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

## License

This project is licensed under the [MIT License](LICENSE.md).