From ac41c9248420f1a4f1a6f78856f0ca1b278da4df Mon Sep 17 00:00:00 2001 From: sungjiwoon Date: Thu, 8 Feb 2024 02:06:44 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20docker=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e5774b5..629f691 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,11 +46,10 @@ jobs: host: ${{ secrets.HOST }} username: ${{ secrets.USER_NAME }} key: ${{ secrets.PRIVATE_KEY }} - source: "./docker-compose.yml" - target: "/home/ubuntu" script: | - sudo docker stop prod1 - sudo docker stop prod2 + sudo docker rm -f $(docker ps -qa) +# sudo docker stop prod1 +# sudo docker stop prod2 sudo docker pull ${{ secrets.DOCKER_IMAGE_NAME }} docker-compose up -d # sleep 10