Browse Source

Update cluster name

AwsProdDeploy
Rachael Booth 1 year ago
parent
commit
9a8448159b
  1. 6
      .github/workflows/aws_deploy.yml

6
.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 }}-app
cluster: ${{ inputs.aws_resource_prefix }}
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 }}-app
cluster: ${{ inputs.aws_resource_prefix }}
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 }}-app
cluster: ${{ inputs.aws_resource_prefix }}
service: ${{ inputs.aws_resource_prefix }}-sidekiq
task-definition: ${{ steps.sidekiq-task-def.outputs.task-definition }}
wait-for-service-stability: true

Loading…
Cancel
Save