We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beafd53 commit ec69b5aCopy full SHA for ec69b5a
.github/workflows/main.yaml
@@ -0,0 +1,22 @@
1
+name: deploy to lambda
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy_lambda:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Configure AWS credentials
14
+ uses: aws-actions/configure-aws-credentials@v1
15
+ with:
16
+ aws-region: ${{ secrets.AWS_REGION }}
17
+ aws-access-key-id: ${{ secrets.GH_PUSH_AWS_ACCESS_KEY_ID }}
18
+ aws-secret-access-key: ${{ secrets.GH_PUSH_AWS_SECRET_ACCESS_KEY }}
19
+ - name: deploy
20
+ run: |
21
+ zip -j deploy.zip src/*
22
+ aws lambda update-function-code --function-name=pdf-to-s3 --zip-file=fileb://deploy.zip
app.js renamed to src/app.js
controller/statementToJson.controller.js renamed to src/controller/statementToJson.controller.js
0 commit comments