File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 3737 pnpm run build --if-present
3838 pnpm run test
3939
40- - name : Zip artifact for deployment
41- run : zip -r --symlinks release.zip .
40+ - name : Prepare standalone build
41+ run : |
42+ mkdir -p .next/standalone/.next/static
43+ cp -r public .next/standalone/public
44+ cp -r .next/static .next/standalone/.next/static
45+ cd .next/standalone
46+ zip -r ../../release.zip .
4247
4348 - name : Upload artifact for deployment job
4449 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 3838 pnpm run build
3939 pnpm run test
4040
41- - name : Zip artifact for deployment
42- run : zip -r --symlinks release.zip .
41+ - name : Prepare standalone build
42+ run : |
43+ mkdir -p .next/standalone/.next/static
44+ cp -r public .next/standalone/public
45+ cp -r .next/static .next/standalone/.next/static
46+ cd .next/standalone
47+ zip -r ../../release.zip .
4348
4449 - name : Upload artifact for deployment job
4550 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments