Skip to content

Commit

Permalink
[ATR-615] chore: docker-compose.yml 파일 직접 가져오도록 설정 (#299)
Browse files Browse the repository at this point in the history
* [ATR-615] chore: 스테이징 서버 배포 방식을 docker compose로 마이그레이션

* [ATR-615] chore: docker-compose.yml 파일 직접 가져오도록 설
  • Loading branch information
Ryan-Dia authored Oct 12, 2024
1 parent 350cb47 commit f4da736
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ jobs:
key: ${{ secrets.DEV_EC2_PRIVATE_KEY }}
script_stop: true
script: |
docker-compose down || true # 기존 컨테이너 중지 및 제거
docker-compose pull # 최신 이미지를 가져옴
docker-compose up -d
cd /home/ec2-user/app
wget https://raw.githubusercontent.com/Atractorrr/Attraction-Server/dev/docker-compose.yml
# docker-compose 명령 실행
docker-compose down || true
docker-compose pull
- name: 슬랙 알림
uses: 8398a7/action-slack@v3
Expand Down

0 comments on commit f4da736

Please sign in to comment.