Skip to content

Commit 0f1a0ba

Browse files
committed
Switch to pipeline.disabled from deprecated plugins
1 parent 6b1e7a6 commit 0f1a0ba

File tree

1 file changed

+8
-2
lines changed
  • blueprints/lightning-deploy-config/files/config

1 file changed

+8
-2
lines changed

blueprints/lightning-deploy-config/files/config/deploy.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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') {

0 commit comments

Comments
 (0)