Skip to content

Commit

Permalink
[fix] : cd orphan container
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackBean99 committed Feb 26, 2024
1 parent d56447d commit a4e44b2
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 @@ -60,11 +60,11 @@ jobs:
cd ./econo-recruit/server
# docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
# Remove origin was container
# docker rm -f Econovation_Recruit_Server
docker rm -f backend
# Pull and Deploy new built docker image with new tag
docker pull blackbean99@econo-recruit:latest
docker-compose up -d
docker-compose up -d --remove-orphans
# Remove all unused docker image
docker image prune -a -f
Expand Down

0 comments on commit a4e44b2

Please sign in to comment.