Skip to content

Commit

Permalink
feat : prod-cd 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rlatmd0829 committed Apr 25, 2024
1 parent 60eb31d commit b9492e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# ./gradlew checkstyleMain checkstyleTest --continue

test:
name: pr-ci-pipeline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/prod-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ on:
push:
branches: [ "main" ]

env:
AWS_REGION: ap-northeast-2
ECR_REPOSITORY: hhplus-prod
ECR_REGISTRY: 654654182884.dkr.ecr.ap-northeast-2.amazonaws.com/hhplus-prod

jobs:
build-push:
name: Continuous Delivery
name: prod-cd-pipeline
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand All @@ -29,7 +24,7 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2

Expand Down

0 comments on commit b9492e1

Please sign in to comment.