From 664fc5ddba1b9b1ba114c57e17e04cfabb745e94 Mon Sep 17 00:00:00 2001 From: alexbaumgertner Date: Sat, 6 Jan 2024 11:43:17 +0300 Subject: [PATCH] Fix export command --- .github/workflows/build.yml | 5 +---- next.config.js | 1 + package.json | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a9f2e5..7c9fdfc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,9 @@ jobs: - name: Install dependencies run: npm install - - name: Build + - name: Build and Static HTML Export run: npm run build - - name: Static HTML Export - run: npm run export - - name: Disable Jekyl # https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/ run: touch ./out/.nojekyll diff --git a/next.config.js b/next.config.js index a843cbe..42c10fd 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', reactStrictMode: true, } diff --git a/package.json b/package.json index 894aadd..650f0ab 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "scripts": { "dev": "next dev", "build": "next build", - "export": "next export", "start": "next start", "lint": "next lint" },