From c0fd5818a7c2fb7d0744d131d95c54ec75d7fd9a Mon Sep 17 00:00:00 2001 From: Michael Tamaki Date: Tue, 23 Jan 2024 05:43:47 +0000 Subject: [PATCH 1/2] Comment out configure-pages --- .github/workflows/nextjs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 109b958..7287a43 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -53,14 +53,14 @@ jobs: with: node-version: "16" cache: ${{ steps.detect-package-manager.outputs.manager }} - - name: Setup Pages - uses: actions/configure-pages@v3 - with: - # Automatically inject basePath in your Next.js configuration file and disable - # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). - # - # You may remove this line if you want to manage the configuration yourself. - static_site_generator: next + # - name: Setup Pages + # uses: actions/configure-pages@v3 + # with: + # # Automatically inject basePath in your Next.js configuration file and disable + # # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). + # # + # # You may remove this line if you want to manage the configuration yourself. + # static_site_generator: next - name: Restore cache uses: actions/cache@v3 with: @@ -75,7 +75,7 @@ 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 + - name: Static HTML export with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next export - name: Upload artifact uses: actions/upload-pages-artifact@v2 From 650cd43f64d2161b06d5433dc7c1f71304cb5370 Mon Sep 17 00:00:00 2001 From: Michael Tamaki Date: Tue, 23 Jan 2024 05:45:08 +0000 Subject: [PATCH 2/2] Fix linter --- .github/workflows/nextjs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 7287a43..541cc87 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -75,7 +75,7 @@ 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 + - name: Static HTML export with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next export - name: Upload artifact uses: actions/upload-pages-artifact@v2