From a164b039b7287766a891a9c8c15cd689eaf1ecd0 Mon Sep 17 00:00:00 2001 From: Manav Sarkar <42129636+ManavSarkar@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:27:12 +0530 Subject: [PATCH] Using just next build --- .github/workflows/nextjs.yml | 2 -- next.config.mjs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index e24af43..ae2e1f4 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -69,8 +69,6 @@ jobs: run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next build - - name: Static HTML export with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} next export - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/next.config.mjs b/next.config.mjs index aef87fd..535c68b 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -4,7 +4,7 @@ import rehypePrism from '@mapbox/rehype-prism' /** @type {import('next').NextConfig} */ const nextConfig = { - output: "standalone", + output: "export", pageExtensions: ['js', 'jsx', 'mdx'], reactStrictMode: true, experimental: {