Skip to content

Commit b5958f3

Browse files
committed
#45 fix: CI/CD EC2 배포 경로 수정
1 parent 9b61c95 commit b5958f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
7272
port: ${{ secrets.PORT }}
7373
script: |
74-
cd /home/${{ secrets.EC2_USERNAME }}/backend
74+
cd /home/${{ secrets.EC2_USERNAME }}/postdm
7575
7676
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ secrets.AWS_ECR_REPOSITORY }}
7777

.github/workflows/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
5454
port: ${{ secrets.PORT }}
5555
script: |
56-
cd /home/${{ secrets.EC2_USERNAME }}/frontend
56+
cd /home/${{ secrets.EC2_USERNAME }}/postdm
5757
5858
echo "Logging into ECR and pulling image..."
5959
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ secrets.AWS_ECR_FRONTEND_REPOSITORY }}

0 commit comments

Comments
 (0)