Skip to content

Commit

Permalink
deploy : deploy.yml 재재재수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjiwoon committed Feb 1, 2024
1 parent 34286b9 commit 77e6247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sudo docker image prune -af
sudo docker pull ${{ secrets.DOCKER_IMAGE_NAME }}
sudo docker stop chat-server-1
sudo docker run -d --rm --name chat-server-1 -p 8080:8080 ${{ secrets.DOCKER_IMAGE_NAME }}
sudo docker run -d --rm --name chat-server-1 -p 8081:8080 ${{ secrets.DOCKER_IMAGE_NAME }}
sleep 10
sudo docker stop chat-server-2
sudo docker run -d --rm --name chat-server-2 -p 8081:8080 ${{ secrets.DOCKER_IMAGE_NAME }}
sudo docker run -d --rm --name chat-server-2 -p 8082:8080 ${{ secrets.DOCKER_IMAGE_NAME }}

0 comments on commit 77e6247

Please sign in to comment.