repackage on publish

This commit is contained in:
Elizabeth Cray 2024-10-04 18:49:39 -04:00
parent 3a7a10b009
commit bc044f21d9

View File

@ -4,7 +4,7 @@
"description": "Trigger notif from matching WorkMail email",
"main": "index.mjs",
"scripts": {
"deploy": "aws lambda update-function-code --fuction-name Deliveries --region us-west-2 --zip-file fileb://./lambda.zip",
"deploy": "package && aws lambda update-function-code --fuction-name Deliveries --region us-west-2 --zip-file fileb://./lambda.zip",
"package": "zip -r -9 lambda.zip ."
},
"repository": {