Skip to content

Commit 583b17a

Browse files
authored
Merge pull request #5 from WebCreatorX/feature/ci-fix
Feature/ci fix- 패포 yaml 파일 수정
2 parents 8eb9776 + 41051ae commit 583b17a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ jobs:
4242
mkdir deploy_package
4343
cp -r apps/editor/.next/standalone/* deploy_package/
4444
mkdir -p deploy_package/.next/static
45+
mkdir -p deploy_package/public
4546
cp -r apps/editor/.next/static/* deploy_package/.next/static/
46-
cp -r apps/editor/public deploy_package/public
47+
48+
if [ -d apps/editor/public ]; then
49+
cp -r apps/editor/public/* deploy_package/public/
50+
fi
51+
4752
cp apps/editor/appspec.yml deploy_package/
4853
cp -r apps/editor/scripts deploy_package/scripts
4954
cp apps/editor/.env deploy_package/

0 commit comments

Comments
 (0)