Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
you97ssef committed May 26, 2024
1 parent 9f05ed2 commit b3d3a8f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy-to-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:

- name: Deploy to Lambda
run: |
zip -r api.zip api environment.json
aws lambda update-function-code \
--function-name=${{ vars.LAMBDA_FUNCTION_NAME }} \
--zip-file=fileb://api.zip
aws lambda update-function-configuration \
--function-name=${{ vars.LAMBDA_FUNCTION_NAME }} \
--handler="api" \
--memory-size="256"
zip -r api.zip api environment.json
aws lambda update-function-code --function-name ${{ vars.LAMBDA_FUNCTION_NAME }} --zip-file fileb://api.zip
aws lambda update-function-configuration --function-name ${{ vars.LAMBDA_FUNCTION_NAME }} --handler api --runtime go1.x --timeout 30 --memory-size 128

0 comments on commit b3d3a8f

Please sign in to comment.