From 41051aeccc3e30b9e1282019cabe5886683d1ad9 Mon Sep 17 00:00:00 2001 From: y-minion Date: Tue, 25 Nov 2025 19:54:29 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=ED=8F=AC=20yaml=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit public디렉토리가 비어있더라도 배포 아티팩트에 Public디렉토리 존재 보장하도록 함 --- .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 60d4c38..19f7897 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,8 +42,13 @@ jobs: mkdir deploy_package cp -r apps/editor/.next/standalone/* deploy_package/ mkdir -p deploy_package/.next/static + mkdir -p deploy_package/public cp -r apps/editor/.next/static/* deploy_package/.next/static/ - cp -r apps/editor/public deploy_package/public + + if [ -d apps/editor/public ]; then + cp -r apps/editor/public/* deploy_package/public/ + fi + cp apps/editor/appspec.yml deploy_package/ cp -r apps/editor/scripts deploy_package/scripts cp apps/editor/.env deploy_package/