From d9b61a3b3014e939e9f69ba1652fd7af242a495c Mon Sep 17 00:00:00 2001 From: jiwon <128473259+zziwonCHOI@users.noreply.github.com> Date: Wed, 1 Oct 2025 01:38:42 +0900 Subject: [PATCH] Update deploy.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 파일 경로 수정 --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 79e5f49..b78e51c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,9 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest + defaults: + run: + working-directory: LawBot strategy: matrix: @@ -26,6 +29,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + cache-dependency-path: LawBot/package-lock.json + - name: Install dependencies run: npm install @@ -43,7 +48,7 @@ jobs: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USER }} key: ${{ secrets.EC2_SSH_KEY }} - source: "build/*" + source: "Lawbot/build/*" target: "/home/ubuntu/lawbot/build" - name: Restart Nginx