diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 5ce9dfd..d6b0a1c 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -29,14 +29,10 @@ jobs: uses: oven-sh/setup-bun@v1 - name: Setup Pages uses: actions/configure-pages@v3 - with: - static_site_generator: next - name: Install dependencies run: bun install - name: Build with Next.js run: bun run build - - name: Static HTML export with Next.js - run: bun run export - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: diff --git a/next.config.js b/next.config.js index 767719f..0ee58a6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,6 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {} +const nextConfig = { + output: "export" +} module.exports = nextConfig diff --git a/package.json b/package.json index 843c835..2cb41ae 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "dev": "next dev", "build": "next build", "start": "next start", - "export": "next export", "lint": "next lint", "new": "bun new.ts" },