We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605a02d commit 4897903Copy full SHA for 4897903
1 file changed
.github/workflows/prebuild-release.yml
@@ -25,6 +25,7 @@ jobs:
25
26
- name: Build application
27
env:
28
+ NODE_ENV: production
29
NEXT_TELEMETRY_DISABLED: 1
30
run: yarn build
31
@@ -46,8 +47,11 @@ jobs:
46
47
- name: Create prebuild directory structure
48
run: |
49
mkdir -p prebuild-release/jotty/.next
- cp -r .next/standalone/* prebuild-release/jotty/
50
+ cp -r .next/standalone/. prebuild-release/jotty/
51
cp -r .next/static prebuild-release/jotty/.next/static
52
+ if [ -f .next/BUILD_ID ]; then
53
+ cp .next/BUILD_ID prebuild-release/jotty/.next/BUILD_ID
54
+ fi
55
cp -r public prebuild-release/jotty/public
56
cp -r howto prebuild-release/jotty/howto
57
0 commit comments