From 8e13f400351234ab44b02bdcb879cf0a267e867d Mon Sep 17 00:00:00 2001 From: Chirag-Bhatti Date: Fri, 8 Sep 2023 14:07:29 +0100 Subject: [PATCH] feat: update aws ecs service name in pipeline --- .github/workflows/aws_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index ef6397306..e4a05c819 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -117,7 +117,7 @@ jobs: env: ad_hoc_task_definition: ${{ inputs.aws_resource_prefix }}-ad-hoc cluster: ${{ inputs.aws_resource_prefix }} - service: ${{ inputs.aws_resource_prefix }} + service: ${{ inputs.aws_resource_prefix }}-app run: | network=$(aws ecs describe-services --cluster $cluster --services $service --query services[0].networkConfiguration) overrides='{ "containerOverrides" : [{ "name" : "app", "command" : ["bundle", "exec", "rake", "db:migrate"]}]}' @@ -162,7 +162,7 @@ jobs: uses: aws-actions/amazon-ecs-deploy-task-definition@v1 with: cluster: ${{ inputs.aws_resource_prefix }} - service: ${{ inputs.aws_resource_prefix }} + service: ${{ inputs.aws_resource_prefix }}-app task-definition: ${{ steps.app-task-def.outputs.task-definition }} wait-for-service-stability: true