From 54284d62aa2e957b716e33dea2840ee22e8497c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A0=95=EC=9A=B0?= Date: Wed, 20 Nov 2024 21:19:49 +0900 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a99daea..d9d5e87 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,11 +51,14 @@ jobs: - name: Make zip file run: | - mkdir -p build/.next/static - mkdir -p build/public - cp -r .next/standalone/* build/ - cp -r .next/static/* build/.next/static - cp -r public/* build/public + mkdir -p build/standalone/.next/static + mkdir -p build/standalone/public + mkdir -p build/standalone/scripts + cp -r .next/standalone/* build/standalone/ + cp -r .next/static/* build/standalone/.next/static/ + cp -r public/* build/standalone/public/ + cp -r scripts/* build/standalone/scripts/ + cp appspec.yml build/standalone cd build zip -qq -r ../nextjs-app-${{ github.sha }}.zip . shell: bash