diff --git a/.gitignore b/.gitignore index 8d87b1d..7db29b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules/* +lambda.zip diff --git a/package.json b/package.json index afb9d91..09ceb91 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Trigger notif from matching WorkMail email", "main": "index.mjs", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "deploy": "aws lambda update-function-code --fuction-name Deliveries --region us-west-2 --zip-file fileb://./lambda.zip", + "package": "zip -r -9 lambda.zip ." }, "repository": { "type": "git",