From 8f8db0f8dc817d79c9f5a60da52a130786fcd6dc Mon Sep 17 00:00:00 2001 From: Shortood Date: Fri, 6 Sep 2024 01:42:43 +0000 Subject: [PATCH] =?UTF-8?q?cicd=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 | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9126089..4ff8f22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,6 +41,7 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} # GitHub Secrets에서 SSH 비밀키 가져옴 port: 22 script: | + cd /home/ubuntu/gratitude-ai docker stop fastapi-container || true docker rm fastapi-container || true docker pull ${{ secrets.DOCKERHUB_USERNAME }}/my-fastapi-app:latest