Skip to content

Commit

Permalink
fix: docker container 삭제 커맨드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yujamint committed Jun 28, 2024
1 parent 07872c5 commit 86bb357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
envs: GITHUB_SHA
script: |
sudo docker stop $(sudo docker ps -a -q)
sudo docker rm $(sudo docker ps -a -q)
sudo docker pull ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
sudo docker run -d -p 8080:8080 --name qtudy-server-container ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
sudo docker image prune -f

0 comments on commit 86bb357

Please sign in to comment.