From b3d3a8f60ecd8254915d0ad4a86bb3ee9716b241 Mon Sep 17 00:00:00 2001 From: Youssef BAHI Date: Mon, 27 May 2024 00:37:18 +0200 Subject: [PATCH] test --- .github/workflows/deploy-to-lambda.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-to-lambda.yml b/.github/workflows/deploy-to-lambda.yml index 0a405be..b21ea8e 100644 --- a/.github/workflows/deploy-to-lambda.yml +++ b/.github/workflows/deploy-to-lambda.yml @@ -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 \ No newline at end of file