From 41ebe10b0a7850a88f8b07a867af304c4d696477 Mon Sep 17 00:00:00 2001 From: Luke Melia Date: Mon, 20 Jul 2015 11:03:32 -0400 Subject: [PATCH] Update config template --- blueprints/lightning-deploy-config/files/config/deploy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blueprints/lightning-deploy-config/files/config/deploy.js b/blueprints/lightning-deploy-config/files/config/deploy.js index 18cb7e7..209c352 100644 --- a/blueprints/lightning-deploy-config/files/config/deploy.js +++ b/blueprints/lightning-deploy-config/files/config/deploy.js @@ -6,6 +6,7 @@ var VALID_DEPLOY_ENVIRONMENTS = [ //update these to match what you call your dep module.exports = function(environment) { var ENV = { + build: {}, redis: { allowOverwrite: true, keyPrefix: '<%= dasherizedPackageName %>:index' @@ -19,13 +20,13 @@ module.exports = function(environment) { } if (environment === 'dev') { - ENV.buildEnv = 'development'; + ENV.build.environment = 'development'; ENV.redis.url = process.env.REDIS_URL || 'redis://0.0.0.0:6379/'; ENV.plugins = ['build', 'redis']; // only care about deploying index.html into redis in dev } if (environment === 'qa' || environment === 'prod') { - ENV.buildEnv = 'production'; + ENV.build.environment = 'production'; ENV.s3.accessKeyId = process.env.AWS_KEY; ENV.s3.secretAccessKey = process.env.AWS_SECRET; ENV.s3.bucket = /* YOUR S3 BUCKET NAME */;