mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
The awsDeploy plugin now uses different lifecycles to split the tasks up and introduce a way for 3rd party plugin developers to hook into those lifecycle to e.g. add resources before everything is deployed.
23 lines
395 B
JavaScript
23 lines
395 B
JavaScript
'use strict';
|
|
|
|
class Deploy {
|
|
constructor(serverless) {
|
|
this.serverless = serverless;
|
|
|
|
this.commands = {
|
|
deploy: {
|
|
usage: 'Deploy Service.',
|
|
lifecycleEvents: [
|
|
'initializeResources',
|
|
'createProviderStacks',
|
|
'compileFunctions',
|
|
'compileEvents',
|
|
'deploy',
|
|
],
|
|
},
|
|
};
|
|
}
|
|
}
|
|
|
|
module.exports = Deploy;
|