Integrate your deploy pipeline with netlify manual deploys using netlify-cli.
- ember-cli-deploy v1.0 or above
- Node.js v8 or above
ember install ember-cli-deploy-netlify-cli
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 productionfunctionsDir
- (DEFAULT:''
) - Specify a functions folder to deploydestDir
(DEFAULT: ember dist) - Specify a folder to deploymessage
(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! 🚀✌️
This project is licensed under the MIT License.