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 68d23cd commit ea7ad1cCopy full SHA for ea7ad1c
.github/workflows/aws_lambda_deploy.yaml
@@ -0,0 +1,27 @@
1
+name: aws_lambda_deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+jobs:
7
+ deploy:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ node-version: [12.x]
12
+ steps:
13
+ - uses: actions/checkout@master
14
+ - name: Use Node.js ${{ matrix.node-version }}
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: ${{ matrix.node-version }}
18
+ - name: Install Dependencies
19
+ run: npm install
20
+ - name: Configure AWS Credentials
21
+ uses: aws-actions/configure-aws-credentials@v1
22
23
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
24
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
25
+ aws-region: us-east-1
26
+ - name: Serverless Deploy
27
+ run: npm run-script deploy
0 commit comments