Skip to content

Commit

Permalink
Update aws.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wailinoo1 authored Feb 7, 2024
1 parent fc531d0 commit 67edafd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ on:
push:
branches: [ "main" ]

# env:
# AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
# ECR_REPOSITORY: 896836667748.dkr.ecr.ap-southeast-1.amazonaws.com # set this to your Amazon ECR repository name
# 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
# # file, e.g. .aws/task-definition.json
# CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in the
# containerDefinitions section of your task definition

permissions:
contents: read
Expand Down Expand Up @@ -85,7 +76,7 @@ jobs:
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: ${{ vars.ECS_TASK_DEFINITION }}
task-definition: ${{ vars.ECS_TASK_DEFINITION }}
container-name: ${{ vars.CONTAINER_NAME }}
image: ${{ steps.build-image.outputs.image }}

Expand Down

0 comments on commit 67edafd

Please sign in to comment.