Skip to content

Commit

Permalink
replace appleboy with aws cli for lambda code zip upload
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas-khan10 committed Jan 23, 2025
1 parent fa92043 commit 2270836
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 389 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/base-lambdas-reusable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ jobs:
run: |
make lambda_name=${{ inputs.lambda_handler_name }} zip
- name: Upload Lambda Function to ${{ inputs.lambda_aws_name }}
uses: appleboy/lambda-action@master
with:
aws_region: ${{ vars.AWS_REGION }}
function_name: ${{ inputs.sandbox }}_${{ inputs.lambda_aws_name }}
zip_file: build/lambdas/${{ inputs.lambda_handler_name }}/${{ inputs.lambda_handler_name }}.zip
- name: Upload Lambda Function zip to ${{ inputs.lambda_aws_name }}
run: |
aws lambda update-function-code \
--function-name ${{ inputs.sandbox }}_${{ inputs.lambda_aws_name }} \
--zip-file fileb://build/lambdas/${{ inputs.lambda_handler_name }}/${{ inputs.lambda_handler_name }}.zip
44 changes: 0 additions & 44 deletions .github/workflows/dispatch-full-deploy-all-repository-dispatch.yml

This file was deleted.

339 changes: 0 additions & 339 deletions .github/workflows/dispatch-full-lambdas-dispatch-deploy.yml

This file was deleted.

Loading

0 comments on commit 2270836

Please sign in to comment.