From 25fdcd2667fe33620f3a7debc8301ae38dcd0df4 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Mon, 8 Apr 2024 19:35:56 +0800 Subject: [PATCH] chore: env -> secrets --- .github/workflows/aws-prod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws-prod.yml b/.github/workflows/aws-prod.yml index d43776c1..95f946df 100644 --- a/.github/workflows/aws-prod.yml +++ b/.github/workflows/aws-prod.yml @@ -9,6 +9,7 @@ env: ECR_REPOSITORY: xuexiao ECR_REGISTRY: 654654285942.dkr.ecr.ap-northeast-1.amazonaws.com ECS_CLUSTER: ${{ secrets.ECS_CLUSTER }} + ECS_SERVICE: ${{ secrets.ECS_SERVICE }} permissions: id-token: write # This is required for requesting the JWT @@ -80,7 +81,7 @@ jobs: matrix: include: - name: "xuexiao" - service: "xuexiao" + service: ${{ env.ECS_SERVICE }} task_definition: ".aws/task_definition.json" container: "xuexiao"