Skip to content

Commit

Permalink
Merge pull request #111 from MJU-InsuranceSystem/ci-cd,test
Browse files Browse the repository at this point in the history
Test: 새로운 ec2의 데이터베이스 경로 수정
  • Loading branch information
0702Yoon authored Dec 12, 2024
2 parents 8e08d52 + 1cacf1c commit a6d8651
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- name: SSH into EC2 and Deploy with Docker Compose
env:
SSH_KEY: ${{ secrets.DEV_EC2_SSH_KEY }}
HOST: 3.39.206.214
HOST: 54.180.151.103
USER: ubuntu
run: |
echo "${SSH_KEY}" > ec2_key.pem
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Install Docker if not present
uses: appleboy/[email protected]
with:
host: 3.39.206.214
host: 54.180.151.103
username: ubuntu
key: ${{ secrets.DEV_EC2_SSH_KEY }}
script: |
Expand All @@ -150,7 +150,7 @@ jobs:
- name: Copy docker-compose.yml to EC2
env:
SSH_KEY: ${{ secrets.DEV_EC2_SSH_KEY }}
HOST: 3.39.206.214
HOST: 54.180.151.103
USER: ubuntu
run: |
echo "$SSH_KEY" > ec2_key.pem
Expand All @@ -160,7 +160,7 @@ jobs:
- name: Start services using Docker Compose
env:
SSH_KEY: ${{ secrets.DEV_EC2_SSH_KEY }}
HOST: 3.39.206.214
HOST: 54.180.151.103
USER: ubuntu
run: |
echo "$SSH_KEY" > ec2_key.pem
Expand Down

0 comments on commit a6d8651

Please sign in to comment.