Skip to content

Commit

Permalink
issue #17: added github action for publishing to AWS lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
mohit-s96 committed Jan 24, 2023
1 parent b275669 commit 23eda65
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/push-lambda-layer.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: ci-test
name: publish-aws-lambda-layer
on:
push:
branches:
- 17-publish-etl-package-to-lambda-layer
jobs:
test:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: AWS Lambda Layer Publish
uses: mohit-s96/aws-lambda-publishlayer@79ac14ad142c878a772c67cd92d50e47e0c02769
uses: mohit-s96/aws-lambda-publishlayer@770ca73ee40a39c36d9ea53d54af6a4fceaa9be8
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
with:
layer_name: ETLLayer
zip_file: path/to/file.zip
AWS_LAYER_NAME: ${{ secrets.AWS_LAYER_NAME }}

0 comments on commit 23eda65

Please sign in to comment.