From 56fac59572120b417fd680fadd247ed92d431547 Mon Sep 17 00:00:00 2001 From: Felix Gehring <33294791+quantal-quetzal@users.noreply.github.com> Date: Fri, 27 May 2022 12:19:17 +0200 Subject: [PATCH] Use actually existing hook --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9ebb46..3503894 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ It is possible to define simple hooks for existing Serverless CLI commands by ad custom: scripts: hooks: - 'deploy:createDeploymentArtifacts': npm run compile + 'package:createDeploymentArtifacts': npm run compile ``` The next time you run `serverless deploy`, your script will be automatically invoked during the `deploy:createDeploymentArtifacts` lifecycle event.