Skip to content

Commit

Permalink
Merge pull request #95 from LminWoo99/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
LminWoo99 authored Dec 9, 2023
2 parents d119603 + 809e022 commit 223607d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,4 @@ jobs:
docker-compose up -d
docker image prune -a -f
- name: Deploy to Instance
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ec2-user
key: ${{ secrets.PRIVATE_KEY }}
script: |
docker pull ${{ secrets.DOCKER_USERNAME }}/chat
docker stop $(docker ps -a -q | grep -v $(docker-compose ps -q kurento)) # Kurento 서비스를 제외한 다른 모든 컨테이너 중지
docker rm $(docker ps --filter 'status=exited' -a -q) # 종료된(exited) 상태의 모든 컨테이너 삭제
docker-compose up -d
docker image prune -a -f

0 comments on commit 223607d

Please sign in to comment.