Skip to content

Commit 8cf351c

Browse files
Fix merging folders
1 parent bf18519 commit 8cf351c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/nextjs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ jobs:
8181
- name: Prepare Deployment
8282
run: |
8383
mkdir -p deploy
84-
cp -r .next/static/* deploy/
84+
cp -r .next/server/pages/* deploy/
85+
mkdir -p deploy/_next/
86+
cp -r .next/static/* deploy/_next/
8587
cp .next/server/pages/en.html deploy/index.html
8688
- name: Upload artifact
8789
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)