Created
April 20, 2020 17:55
-
-
Save lotus128/33b82168ee69fa3016d4e48fbeb9b2b1 to your computer and use it in GitHub Desktop.
AWS Lambda Node.js deployment npm script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "deploy-update": "zip -r function.zip . -x \".git/*\" -x \".gitignore\" -x \"./node_modules/aws-sdk/*\" -x \"./node_modules/events/\" -x \"./node_modules/ieee754/\" -x \"./node_modules/jmespath/\" -x \"./node_modules/querystring/\" -x \"./node_modules/sax/\" -x \"./node_modules/url/\" -x \"./node_modules/uuid/\" -x \"./node_modules/xml2js/\" && aws lambda update-function-code --function-name ComicPagePublish --zip-file fileb://function.zip" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Licensed under CC0-1.0.