Skip to content

Commit

Permalink
Update action according to new naming of lambda to app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
niccolozanotti committed Sep 5, 2024
1 parent ddf49ea commit 95aa6b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 112 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-lambda-to-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- name: Zip package
run: |
cd package
zip -r9 ../lambda_function.zip .
zip -r9 ../app.zip .
cd ..
zip -g lambda_function.zip lambda_function.py
zip -g app.zip app.py
- name: Deploy to AWS Lambda
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-north-1
run: |
aws lambda update-function-code --function-name registration-real-time --zip-file fileb://lambda_function.zip
aws lambda update-function-code --function-name registration-real-time --zip-file fileb://app.zip
109 changes: 0 additions & 109 deletions test_app.py

This file was deleted.

0 comments on commit 95aa6b1

Please sign in to comment.