Skip to content

Commit d54d300

Browse files
committed
Upload task def for inspection
1 parent 2a1604f commit d54d300

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/actions/ecs-task-render-deploy/action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,15 @@ runs:
7171
container-name: ${{ inputs.container-name }}
7272
image: ${{ inputs.image }}
7373

74+
- name: Upload task def to S3 for testing
75+
shell: bash
76+
run: |
77+
aws s3 cp ${{ steps.render-web-container.outputs.task-definition }} s3://vanotify-environment-variables-dev/va-enp-api/
78+
7479
- name: Deploy API task definition to Fargate
7580
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
7681
with:
77-
task-definition: ./task-definition.json
82+
task-definition: ${{ steps.render.outputs.task-definition }}
7883
service: ${{ inputs.environment }}-va-enp-api-service
7984
cluster: ${{ inputs.environment }}-notification-cluster
8085
wait-for-service-stability: true

0 commit comments

Comments
 (0)