Skip to content

Commit 3f7b3ee

Browse files
authored
Merge pull request #20 from adieuadieu/master
Use 'package' hook instead of 'deploy'
2 parents f0d6626 + 6c7362b commit 3f7b3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class ServerlessPlugin {
2525

2626
this.hooks = {
2727
'before:offline:start:init': this.beforeCreateDeploymentArtifacts.bind(this),
28-
'before:deploy:createDeploymentArtifacts': this.beforeCreateDeploymentArtifacts.bind(this),
29-
'after:deploy:createDeploymentArtifacts': this.afterCreateDeploymentArtifacts.bind(this),
28+
'before:package:createDeploymentArtifacts': this.beforeCreateDeploymentArtifacts.bind(this),
29+
'after:package:createDeploymentArtifacts': this.afterCreateDeploymentArtifacts.bind(this),
3030
'before:invoke:local:invoke': this.beforeCreateDeploymentArtifacts.bind(this),
3131
'after:invoke:local:invoke': this.cleanup.bind(this),
3232
}

0 commit comments

Comments
 (0)