Skip to content

Commit

Permalink
Feat: 8081 포트만 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
momnpa333 committed Nov 7, 2024
1 parent 824b92f commit 630abd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
key: ${{ secrets.KEY }}
port: 22
script: |
# Remove all existing containers
sudo docker rm -f $(docker ps -a -q)
# 8081 포트를 사용하는 컨테이너만 중단하고 제거
sudo docker ps --filter "publish=8081" -q | xargs -r sudo docker rm -f
sudo docker image prune -f
# Pull the latest image
sudo docker pull ${{ secrets.DOCKER_REPO }}
Expand Down

0 comments on commit 630abd5

Please sign in to comment.