diff --git a/.github/workflows/deploy-environment.yml b/.github/workflows/deploy-environment.yml index 9cff7f18..19dd2a2a 100644 --- a/.github/workflows/deploy-environment.yml +++ b/.github/workflows/deploy-environment.yml @@ -173,7 +173,7 @@ jobs: - name: Download task definition for ${{ matrix.service_type }} and strip unused properties run: | - aws ecs describe-task-definition --task-definition bops-${{ matrix.service_type }}-${{ inputs.environment-name }} --query taskDefinition | \ + aws ecs describe-task-definition --task-definition bops-applicants-${{ matrix.service_type }}-${{ inputs.environment-name }} --query taskDefinition | \ jq -r 'del(.compatibilities, .taskDefinitionArn, .requiresAttributes, .revision, .status, .registeredAt, .registeredBy)' > ${{ matrix.service_type }}.json - name: Generate task definition for ${{ inputs.environment-name }} @@ -181,7 +181,7 @@ jobs: uses: aws-actions/amazon-ecs-render-task-definition@v1 with: task-definition: ${{ matrix.service_type }}.json - container-name: bops + container-name: bops-applicants image: ${{ steps.ecr-image.outputs.uri }} - name: Deploy ${{ matrix.service_type }} @@ -189,7 +189,7 @@ jobs: if: matrix.service_type != 'web' with: task-definition: ${{ steps.task-def.outputs.task-definition }} - service: bops-${{ matrix.service_type }}-${{ inputs.environment-name }} + service: bops-applicants-${{ matrix.service_type }}-${{ inputs.environment-name }} cluster: bops-${{ inputs.environment-name }} wait-for-service-stability: true @@ -198,11 +198,11 @@ jobs: if: matrix.service_type == 'web' with: task-definition: ${{ steps.task-def.outputs.task-definition }} - service: bops-${{ matrix.service_type }}-${{ inputs.environment-name }} + service: bops-applicants-${{ matrix.service_type }}-${{ inputs.environment-name }} cluster: bops-${{ inputs.environment-name }} wait-for-service-stability: true codedeploy-appspec: .aws/appspec.yml - codedeploy-application: bops-${{ inputs.environment-name }} + codedeploy-application: bops-applicants-${{ inputs.environment-name }} codedeploy-deployment-group: default tag-release: