From b92df096a66aedbb9d4ae9df7facb497069933bd Mon Sep 17 00:00:00 2001 From: Serhii Date: Thu, 22 Aug 2024 08:16:08 +0300 Subject: [PATCH] chore:throtting --- .github/workflows/deploy.yml | 53 ++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eb9e157..2f23f62 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,27 +34,40 @@ jobs: echo "Error: Service ARN not found for service name ${{ secrets.APP_RUNNER_SERVICE_NAME_BACKEND }}." exit 1 fi - - # Set retry logic with adaptive mode and a maximum of 10 attempts - export AWS_RETRY_MODE='adaptive' - export AWS_MAX_ATTEMPTS=10 - - # Update the backend service in AWS App Runner - aws apprunner update-service \ - --service-arn "$SERVICE_ARN" \ - --source-configuration "$(cat <