Skip to content

Commit

Permalink
chore: docker compose file 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Jul 3, 2024
1 parent 591b3f8 commit 0107bb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,7 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PEM_KEY }}
script: |
docker-compose -f ~/compose-dev.yaml pull
docker-compose -f ~/compose-dev.yaml up -d --build
sudo docker rm $(docker ps -a -q)
sudo docker rmi ${{ secrets.DOCKER_REPO }}
sudo docker pull ${{ secrets.DOCKER_REPO }}
sudo docker-compose up -d

0 comments on commit 0107bb1

Please sign in to comment.