This ember-cli-deploy tagging-adapter will use the environment variable DEPLOY_GIT_REF
to tag a deployment instead of the default sha tagging-adapter.
-
npm install --save ember-deploy-tagging-scalingo
-
Add
tagging: 'env-scalingo'
to yourdeploy.js
:
module.exports = {
production: {
store: process.env['REDIS_URL'],
assets: {
...
},
tagging: 'env-scalingo'
}
};