From 6787851f94d3887eff6d455d00dbd52877274c56 Mon Sep 17 00:00:00 2001 From: Tosin Ogunjobi Date: Fri, 26 Jan 2024 19:19:30 -0800 Subject: [PATCH] commit --- .github/workflows/nextjs.yml | 2 -- next.config.js | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index b6ec6a5..41ae2f5 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -75,8 +75,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.js b/next.config.js index 0db6252..e9efc1d 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 \ No newline at end of file +module.exports = nextConfig;