From 698d1d10a6922037b0feefe1b9cbba25aebebebe Mon Sep 17 00:00:00 2001 From: dev-taewon-kim Date: Thu, 31 Oct 2024 19:24:40 +0900 Subject: [PATCH] =?UTF-8?q?config:=20BE=20Actions=20=EC=88=98=EC=A0=95(10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/be.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/be.yml b/.github/workflows/be.yml index 954eaa8..d529f30 100644 --- a/.github/workflows/be.yml +++ b/.github/workflows/be.yml @@ -66,9 +66,8 @@ jobs: - name: Transfer built files via SCP run: | - cd ./be/dist - zip -r dist.zip dist package.json pnpm-lock.yaml - cd .. + cd ./be + zip -r dist.zip dist node_modules scp -P ${{ secrets.SERVER_PORT }} ./dist.zip ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }}:/home/${{ secrets.SSH_USER }}/deploy/clovapatra/dist.zip - name: Execute remote commands