From bfa6263ca605df3563d09237cba57bc18ead6e30 Mon Sep 17 00:00:00 2001 From: dongkyun-dev Date: Sat, 23 Mar 2024 15:08:15 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 83de513..a2f29c8 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -6,7 +6,7 @@ on: - feature/BAR-277 env: - REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_2 }} + REGISTRY: ${{ secrets.AWS_ECR_REGISTRY }} AWS_REGION: ap-northeast-2 IMAGE_NAME: baro @@ -22,8 +22,8 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_2 }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_2 }} + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }} - name: Login to Amazon ECR @@ -52,9 +52,9 @@ jobs: IMAGE_TAG: ${{ github.sha }} uses: appleboy/ssh-action@master with: - host: ${{ secrets.EC2_PUBLIC_DOMAIN_2 }} + host: ${{ secrets.EC2_PUBLIC_DOMAIN }} username: ubuntu - key: ${{ secrets.EC2_SSH_PRIVATE_KEY_2 }} + key: ${{ secrets.EC2_SSH_PRIVATE_KEY }} envs: REGISTRY,REPOSITORY,IMAGE_TAG,AWS_REGION,IMAGE_NAME script: |- aws ecr get-login-password --region ${{ env.AWS_REGION }} |