diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 46220589..ddbdfb12 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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