Skip to content

Commit fd30227

Browse files
committed
Export is not supported anymore
1 parent f4a30b0 commit fd30227

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/pages.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ jobs:
7070
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
7171
- name: Build with Next.js
7272
run: ${{ steps.detect-package-manager.outputs.runner }} next build
73-
- name: Static HTML export with Next.js
74-
run: ${{ steps.detect-package-manager.outputs.runner }} next export
7573
- name: Upload artifact
7674
uses: actions/upload-pages-artifact@v1
7775
with:

next.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
const nextConfig = {
33
reactStrictMode: true,
44
swcMinify: true,
5-
}
5+
output: 'export',
6+
images: {
7+
unoptimized: true,
8+
},
9+
};
610

7-
module.exports = nextConfig
11+
module.exports = nextConfig;

0 commit comments

Comments
 (0)