From bf8abeadc6463ab7d553c7d9aa834bea60ce1bd8 Mon Sep 17 00:00:00 2001 From: Hyun <82355395+donghyuun@users.noreply.github.com> Date: Fri, 13 Sep 2024 23:43:36 +0900 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 063c5b0..3390353 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -78,6 +78,5 @@ jobs: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker pull ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest docker stop apap-backend - docker run -d --name apap-backend --network apap-backend --log-driver=syslog -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest docker rm $(docker ps --filter 'status=exited' -a -q) - docker image prune -a -f + docker run -d --name apap-backend --network apap-backend --log-driver=syslog -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest