File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 cache : ${{ steps.detect-package-manager.outputs.manager }}
5858 - name : Setup Pages
5959 uses : actions/configure-pages@v5
60- with :
61- # Automatically inject basePath in your Next.js configuration file and disable
62- # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
63- #
64- # You may remove this line if you want to manage the configuration yourself.
65- static_site_generator : next
60+
6661 - name : Restore cache
6762 uses : actions/cache@v4
6863 with :
Original file line number Diff line number Diff line change 1+ import nextra from 'nextra'
2+
3+ /**
4+ * @type {import('next').NextConfig }
5+ */
6+ const nextConfig = {
7+ output : 'export' ,
8+ images : {
9+ unoptimized : true // mandatory, otherwise won't export
10+ }
11+ // Optional: Change the output directory `out` -> `dist`
12+ // distDir: "build"
13+ }
14+ const withNextra = nextra ( {
15+ // ... other Nextra config options
16+ } )
17+
18+ export default withNextra ( nextConfig )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments