From 3a7a10b0094ec883bb49f54b904760f3baabe2d1 Mon Sep 17 00:00:00 2001 From: Liz/Alice Cray Date: Fri, 4 Oct 2024 18:44:51 -0400 Subject: [PATCH] Deployment tools --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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",