From ab64f6ca7da13ff43594ac2042643d81bce2d55f Mon Sep 17 00:00:00 2001 From: SangYeong Park <107484383+Imsyp@users.noreply.github.com> Date: Fri, 20 Sep 2024 20:50:38 +0900 Subject: [PATCH] Update server_cicd.yml --- .github/workflows/server_cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/server_cicd.yml b/.github/workflows/server_cicd.yml index 6ac6ede..1e3b7b0 100644 --- a/.github/workflows/server_cicd.yml +++ b/.github/workflows/server_cicd.yml @@ -43,9 +43,9 @@ jobs: sudo docker stop swdc-container || true sudo docker rm swdc-container || true rm -rf /home/patturning1/deployment/swdc-0.0.1-SNAPSHOT.jar - scp -r ./server/build/libs/swdc-0.0.1-SNAPSHOT.jar patturning1@${{ secrets.GCP_SERVER_VM_HOST }}:/home/patturning1/deployment/ + scp -r server/build/libs/swdc-0.0.1-SNAPSHOT.jar patturning1@${{ secrets.GCP_SERVER_VM_HOST }}:/home/patturning1/deployment/ cd /home/patturning1/deployment - sudo docker build -t swdc-app + sudo docker build -t swdc-app . sudo docker run -d -p 8080:8080 --name swdc-container swdc-app