File tree Expand file tree Collapse file tree
blueprints/lightning-deploy-config/files/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- var VALID_DEPLOY_TARGETS = [ //update these to match what you call your deployment targets
1+ var VALID_DEPLOY_TARGETS = [ // update these to match what you call your deployment targets
22 'dev' ,
33 'qa' ,
44 'prod'
@@ -15,14 +15,20 @@ module.exports = function(deployTarget) {
1515 prefix : '<%= dasherizedPackageName %>'
1616 }
1717 } ;
18+
1819 if ( VALID_DEPLOY_TARGETS . indexOf ( deployTarget ) === - 1 ) {
1920 throw new Error ( 'Invalid deployTarget ' + deployTarget ) ;
2021 }
2122
2223 if ( deployTarget === 'dev' ) {
2324 ENV . build . environment = 'development' ;
2425 ENV . redis . url = process . env . REDIS_URL || 'redis://0.0.0.0:6379/' ;
25- ENV . plugins = [ 'build' , 'redis' ] ; // only care about deploying index.html into redis in dev
26+ // only care about deploying index.html into redis in dev
27+ ENV . pipeline = {
28+ disabled : {
29+ allExcept : [ 'build' , 'redis' ]
30+ }
31+ }
2632 }
2733
2834 if ( deployTarget === 'qa' || deployTarget === 'prod' ) {
You can’t perform that action at this time.
0 commit comments