From 8a8d7f101da7cd8f45ce16f6f1ce4cd588e658c9 Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:14:57 -0400 Subject: [PATCH 1/7] Update nextjs.yml Removing `next export` from actions to fix builds. --- .github/workflows/nextjs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 5e1e206..787ff2d 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -67,8 +67,8 @@ 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: 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: From 9cc5d6a2a9924b52534341f2816111758d2273fe Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:43:30 -0400 Subject: [PATCH 2/7] Update package.json removing export since it is depreciated --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index d32184a..34e9196 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "scripts": { "dev": "next dev", "build": "next build", - "export": "next export", "start": "next start", "lint": "next lint" }, From 889a988f0d31f133ab4f699a1b9f432082a1f2da Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:50:29 -0400 Subject: [PATCH 3/7] Update nextjs.yml add `npm run build` to ouput static files --- .github/workflows/nextjs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 787ff2d..e7f47a1 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -69,6 +69,8 @@ jobs: 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: Build Next.js static site + run: npm run build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: From 6ecdbb889147db1d04451ee4d91c6eac54f370fe Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:40:46 -0400 Subject: [PATCH 4/7] Update package.json --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 34e9196..16980c8 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "dev": "next dev", "build": "next build", - "start": "next start", - "lint": "next lint" + "dev": "next dev" }, "keywords": [], "author": "", @@ -22,7 +20,7 @@ "@icons-pack/react-simple-icons": "^9.1.0", "clsx": "2.1.0", "framer-motion": "^10.18.0", - "next": "^14.2.13", + "next": "^14.2.15", "nextra": "^2.13.2", "nextra-theme-docs": "^2.13.2", "react": "^18.2.0", From a57f7c855fda547e0f3c06d35d34e67949d0710f Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:08:42 -0400 Subject: [PATCH 5/7] Update package-lock.json --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 63e8030..b67f58e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@icons-pack/react-simple-icons": "^9.1.0", "clsx": "2.1.0", "framer-motion": "^10.18.0", - "next": "^14.2.13", + "next": "^14.2.15", "nextra": "^2.13.2", "nextra-theme-docs": "^2.13.2", "react": "^18.2.0", From 787d27f25274163315f4a5574a4d33fcc4020ab0 Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:09:44 -0400 Subject: [PATCH 6/7] Update package-lock.json --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index b67f58e..63e8030 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@icons-pack/react-simple-icons": "^9.1.0", "clsx": "2.1.0", "framer-motion": "^10.18.0", - "next": "^14.2.15", + "next": "^14.2.13", "nextra": "^2.13.2", "nextra-theme-docs": "^2.13.2", "react": "^18.2.0", From 0776bf92b135106de31e029ea5221011a2c809ec Mon Sep 17 00:00:00 2001 From: DieselTech <30128380+DieselTech@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:09:45 -0400 Subject: [PATCH 7/7] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 16980c8..7d0d0d8 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@icons-pack/react-simple-icons": "^9.1.0", "clsx": "2.1.0", "framer-motion": "^10.18.0", - "next": "^14.2.15", + "next": "^14.2.13", "nextra": "^2.13.2", "nextra-theme-docs": "^2.13.2", "react": "^18.2.0",