Skip to content

Commit

Permalink
chore: environment 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Oct 28, 2023
1 parent 5de51bc commit efa04b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
image-url:
required: true
type: string
environment:
required: true
type: string
secrets:
AWS_ASSUME_ROLE_ARN:
required: true
Expand All @@ -23,6 +26,7 @@ on:
required: true
jobs:
deploy:
environment: ${{ inputs.environment }}
runs-on: [ ubuntu-latest ]
name: ECS 배포하기

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
id-token: write
contents: read
with:
environment: production
ecs-service: ${{ needs.prepare-variables.outputs.ecs-service }}
ecs-cluster: ${{ needs.prepare-variables.outputs.ecs-cluster }}
ecr-task-definition: ${{ needs.prepare-variables.outputs.ecr-task-definition }}
Expand Down

0 comments on commit efa04b3

Please sign in to comment.