Skip to content

Commit

Permalink
bug: ec2 주소 및 rds 엔드포인트 수정
Browse files Browse the repository at this point in the history
dev용 ec2, rds 삭제
  • Loading branch information
PokingTeemo committed Nov 26, 2024
1 parent 0fe0a11 commit e6b4a2f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ jobs:
run: ./gradlew clean build
working-directory: ${{ secrets.WORKING_DIRECTORY }}
env:
SPRING_DATASOURCE_URL: jdbc:mysql://aimodbfordev.cbimeayem48r.ap-northeast-2.rds.amazonaws.com:3306/aimo
SPRING_DATASOURCE_URL: jdbc:mysql://aimodb.cbimeayem48r.ap-northeast-2.rds.amazonaws.com:3306/aimo
SPRING_DATASOURCE_USERNAME: admin
SPRING_DATASOURCE_PASSWORD: ${{ secrets.DB_PASSWORD }}

# 빌드된 JAR 파일을 EC2로 복사
- name: Copy JAR file to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DEV }}
host: ${{ secrets.EC2_HOST}}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
debug: true
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Copy CloudWatch config to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DEV }}
host: ${{ secrets.EC2_HOST}}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
source: cloudwatch-config.json
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Test EC2 SSH Connection
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.EC2_HOST_DEV }}
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
debug: true
Expand All @@ -100,7 +100,7 @@ jobs:
- name: Deploy to EC2
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.EC2_HOST_DEV }}
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
debug: true
Expand Down

0 comments on commit e6b4a2f

Please sign in to comment.