From 541bd65cb9e6d35efb65cc032a305e7137885ccd Mon Sep 17 00:00:00 2001 From: jiwon <128473259+zziwonCHOI@users.noreply.github.com> Date: Wed, 1 Oct 2025 09:14:35 +0900 Subject: [PATCH 1/2] Update deploy.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 빌드 파일 복사 경로 수정 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0a695b3..0f5ad92 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,7 +48,7 @@ jobs: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USER }} key: ${{ secrets.EC2_SSH_KEY }} - source: "LawBot/dist/*" + source: "LawBot/dist/**" target: "/home/ubuntu/lawbot/build" - name: Restart Nginx From 4e6ab391d68115c80ebabdd716a1e1f38a217179 Mon Sep 17 00:00:00 2001 From: jiwon <128473259+zziwonCHOI@users.noreply.github.com> Date: Wed, 1 Oct 2025 09:34:36 +0900 Subject: [PATCH 2/2] Update deploy.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 빌드 파일 저장 경로 수정 --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0f5ad92..89b4f12 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,8 +48,9 @@ jobs: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USER }} key: ${{ secrets.EC2_SSH_KEY }} - source: "LawBot/dist/**" + source: "LawBot/dist/*" target: "/home/ubuntu/lawbot/build" + strip_components: 2 - name: Restart Nginx uses: appleboy/ssh-action@v0.1.6