We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 963aaee commit 41051aeCopy full SHA for 41051ae
1 file changed
.github/workflows/deploy.yml
@@ -42,8 +42,13 @@ jobs:
42
mkdir deploy_package
43
cp -r apps/editor/.next/standalone/* deploy_package/
44
mkdir -p deploy_package/.next/static
45
+ mkdir -p deploy_package/public
46
cp -r apps/editor/.next/static/* deploy_package/.next/static/
- 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
52
cp apps/editor/appspec.yml deploy_package/
53
cp -r apps/editor/scripts deploy_package/scripts
54
cp apps/editor/.env deploy_package/
0 commit comments