Skip to content

Commit 5de833e

Browse files
committed
Fix: deploy.yml 워크플로우에 cluster, service 환경 변수 이름 GitHub Actions 에 Variables 로 지정한 이름과 일치하도록 수정
1 parent 3727ef7 commit 5de833e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ jobs:
5252
- name: Stop current ECS service
5353
run: |
5454
aws ecs update-service \
55-
--cluster ${{ vars.ECS_CLUSTER_NAME }} \
56-
--service ${{ vars.ECS_SERVICE_NAME }} \
55+
--cluster ${{ vars.ECS_CLUSTER }} \
56+
--service ${{ vars.ECS_SERVICE }} \
5757
--desired-count 0 \
5858
--region ${{ vars.AWS_REGION }}
5959
6060
- name: Deploy updated Task Definition to ECS
6161
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
6262
with:
6363
task-definition: ecs/task-definition.json
64-
cluster: ${{ vars.ECS_CLUSTER_NAME }}
65-
service: ${{ vars.ECS_SERVICE_NAME }}
64+
cluster: ${{ vars.ECS_CLUSTER }}
65+
service: ${{ vars.ECS_SERVICE }}
6666
wait-for-service-stability: true # 배포 안정화 확인 (헬스체크 통과 시까지 대기)

0 commit comments

Comments
 (0)