Skip to content

Commit

Permalink
feat: add aws lambda deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Méndez committed Oct 20, 2019
1 parent 3a6fe37 commit 53295bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

*.zip
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"predeploy": "zip -r artifact.zip *",
"deploy": "aws lambda update-function-code --function-name SalgodeCore --zip-file fileb://artifact.zip --region us-east-1"
"predeploy": "zip -r SalgodeCore.zip index.js resources utils",
"deploy": "aws lambda update-function-code --function-name SalgodeCore --zip-file fileb://SalgodeCore.zip --region us-east-1"
},
"private": true,
"devDependencies": {
Expand Down

0 comments on commit 53295bf

Please sign in to comment.