File tree Expand file tree Collapse file tree 2 files changed +4
-25
lines changed
Expand file tree Collapse file tree 2 files changed +4
-25
lines changed Original file line number Diff line number Diff line change 4141 env :
4242 NODE_ENV : production
4343
44- - name : Check build output
45- run : |
46- echo "Checking build output..."
47- ls -la
48- if [ -d "./out" ]; then
49- echo "✓ out directory exists"
50- ls -la out/
51- else
52- echo "✗ out directory does not exist, checking .next..."
53- ls -la .next/ || echo "No .next directory"
54- echo "Checking if build completed..."
55- fi
56-
5744 - name : Add .nojekyll file
58- run : |
59- if [ -d "./out" ]; then
60- touch ./out/.nojekyll
61- echo "✓ .nojekyll file created"
62- else
63- echo "Error: out directory does not exist"
64- exit 1
65- fi
45+ run : touch ./out/.nojekyll
6646
6747 - name : Upload artifact
6848 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1- import type { NextConfig } from "next" ;
2-
3- const nextConfig : NextConfig = {
1+ /** @type {import('next').NextConfig } */
2+ const nextConfig = {
43 output : 'export' ,
54 trailingSlash : true ,
65 images : {
@@ -10,4 +9,4 @@ const nextConfig: NextConfig = {
109 assetPrefix : '/business-design-kit'
1110} ;
1211
13- export default nextConfig ;
12+ module . exports = nextConfig ;
You can’t perform that action at this time.
0 commit comments