Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

백엔드 CD 줄바꿈 오류 해결 #144

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,11 @@ jobs:
key: ${{ secrets.EC2_KEY }}

script: |
# 실행중인 서버 다운
sudo docker-compose down

# 백엔드 도커 이미지 삭제
sudo docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}

# 백엔드 환경변수 파일 삭제 및 생성
sudo rm .env_b
sudo touch .env_b

# 백엔드 환경변수 파일 작성
echo ADMIN_SECRET_KEY=${{ secrets.ADMIN_SECRET_KEY }} >> .env_b
echo AWS_ACCESS_KEY=${{ secrets.AWS_ACCESS_KEY }} >> .env_b
echo AWS_SECRET_KEY=${{ secrets.AWS_SECRET_KEY }} >> .env_b
Expand All @@ -72,5 +66,4 @@ jobs:
echo RDS_PASSWORD=${{ secrets.RDS_PASSWORD }} >> .env_b
echo ${{ secrets.PORT }}:${{ secrets.PORT }} >> .env_b

# 백엔드 도커 이미지 pull 및 도커 컴포즈 실행
sudo docker-compose up -d
2 changes: 1 addition & 1 deletion src/main/java/com/sportsecho/common/aop/TimeTraceAop.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void memberProduct() {
public void purchase() {
}

@Around("user() || memberProduct() || purchase()")
@Around("user()")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

빠른 반영 감사합니다👍

public Object execute(ProceedingJoinPoint joinPoint) throws Throwable {
long start = System.currentTimeMillis();

Expand Down
Loading