diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index bd258ce8e..247efbfab 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -116,7 +116,7 @@ jobs: - name: Run migrations task env: ad_hoc_task_definition: ${{ inputs.aws_resource_prefix }}-ad-hoc - cluster: ${{ inputs.aws_resource_prefix }} + cluster: ${{ inputs.aws_resource_prefix }}-app service: ${{ inputs.aws_resource_prefix }}-app run: | network=$(aws ecs describe-services --cluster $cluster --services $service --query services[0].networkConfiguration) @@ -146,7 +146,7 @@ jobs: - name: Deploy updated application uses: aws-actions/amazon-ecs-deploy-task-definition@v1 with: - cluster: ${{ inputs.aws_resource_prefix }} + cluster: ${{ inputs.aws_resource_prefix }}-app service: ${{ inputs.aws_resource_prefix }}-app task-definition: ${{ steps.app-task-def.outputs.task-definition }} wait-for-service-stability: true @@ -168,7 +168,7 @@ jobs: - name: Deploy updated sidekiq uses: aws-actions/amazon-ecs-deploy-task-definition@v1 with: - cluster: ${{ inputs.aws_resource_prefix }} + cluster: ${{ inputs.aws_resource_prefix }}-app service: ${{ inputs.aws_resource_prefix }}-sidekiq task-definition: ${{ steps.sidekiq-task-def.outputs.task-definition }} wait-for-service-stability: true