Skip to content

Commit

Permalink
[feat]: 불필요한 파일 제거 및 블루 그린 무중단 배포 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Gseungmin committed Oct 25, 2023
1 parent 168ad76 commit 67d8234
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build -t ${{ secrets.DOCKER_REPO }}/refit-spring .
docker build -f dockerfile-nginx -t ${{ secrets.DOCKER_REPO }}/refit-nginx .
docker push ${{ secrets.DOCKER_REPO }}/refit-spring
docker push ${{ secrets.DOCKER_REPO }}/refit-nginx
- name: Deploy
uses: appleboy/[email protected]
Expand All @@ -68,8 +66,4 @@ jobs:
username: ubuntu
key: ${{ secrets.KEY }}
script: |
sudo docker rm -f $(docker ps -qa)
sudo docker pull ${{ secrets.DOCKER_REPO }}/refit-spring
sudo docker pull ${{ secrets.DOCKER_REPO }}/refit-nginx
docker-compose up -d
docker image prune -f
./deploy.sh
18 changes: 0 additions & 18 deletions docker-compose.yml

This file was deleted.

15 changes: 0 additions & 15 deletions nginx/conf.d/nginx.conf

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/java/com/umc/refit/domain/entity/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.umc.refit.domain.dto.member.JoinDto;
import com.umc.refit.domain.dto.mypage.UpdateMyInfoRequestDto;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
Expand All @@ -18,6 +19,7 @@
@Entity
@Getter
@Setter
@NoArgsConstructor()
public class Member implements UserDetails {

@Id
Expand Down

0 comments on commit 67d8234

Please sign in to comment.