From e4470f044efc31801cc721ac867cb493ac50dc59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=8A=B9=EC=A7=84?= Date: Wed, 15 Nov 2023 19:00:01 +0900 Subject: [PATCH] =?UTF-8?q?[HOTFIX]=20=EB=94=94=EB=A0=89=ED=84=B0=EB=A6=AC?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1=20=EB=B0=8F=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EB=B3=B5=EC=82=AC=20=EA=B8=B0=EB=8A=A5=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-cd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/backend-cd.yml b/.github/workflows/backend-cd.yml index c6e3103a..646446b7 100644 --- a/.github/workflows/backend-cd.yml +++ b/.github/workflows/backend-cd.yml @@ -60,6 +60,4 @@ jobs: - name: Deploy to GCE with Docker Compose run: | - gcloud compute ssh twtw-server --zone=${{ secrets.GCP_ZONE }} --command="mkdir -p ~/twtw" - gcloud compute scp docker-compose.yml twtw-server:~/twtw --zone=${{ secrets.GCP_ZONE }} - gcloud compute ssh twtw-server --zone=${{ secrets.GCP_ZONE }} --command="cd ~/twtw && docker-compose up --build -d" + gcloud compute ssh twtw-server --zone=${{ secrets.GCP_ZONE }} --command="cd ~/twtw && sudo docker-compose up --build -d"