diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index a8219c4..b55bf4b 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -28,16 +28,16 @@ name: Deploy to Amazon ECS on: push: - branches: [ "main" ] + branches: [ "main", "doc-ec2" ] env: - AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1 - ECR_REPOSITORY: MY_ECR_REPOSITORY # set this to your Amazon ECR repository name + AWS_REGION: eu-north-1 + ECR_REPOSITORY: conorheffron/ironoc ECS_SERVICE: MY_ECS_SERVICE # set this to your Amazon ECS service name ECS_CLUSTER: MY_ECS_CLUSTER # set this to your Amazon ECS cluster name - ECS_TASK_DEFINITION: MY_ECS_TASK_DEFINITION # set this to the path to your Amazon ECS task definition + ECS_TASK_DEFINITION: .aws.task-definition.json # set this to the path to your Amazon ECS task definition # file, e.g. .aws/task-definition.json - CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in the + CONTAINER_NAME: ironoc # set this to the name of the container in the # containerDefinitions section of your task definition permissions: