File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
blueprints/lightning-deploy-config/files/config Expand file tree Collapse file tree 1 file changed +8
-2
lines changed 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
2
2
'dev' ,
3
3
'qa' ,
4
4
'prod'
@@ -15,14 +15,20 @@ module.exports = function(deployTarget) {
15
15
prefix : '<%= dasherizedPackageName %>'
16
16
}
17
17
} ;
18
+
18
19
if ( VALID_DEPLOY_TARGETS . indexOf ( deployTarget ) === - 1 ) {
19
20
throw new Error ( 'Invalid deployTarget ' + deployTarget ) ;
20
21
}
21
22
22
23
if ( deployTarget === 'dev' ) {
23
24
ENV . build . environment = 'development' ;
24
25
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
+ }
26
32
}
27
33
28
34
if ( deployTarget === 'qa' || deployTarget === 'prod' ) {
You can’t perform that action at this time.
0 commit comments