diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index a721c61..6b21993 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -78,7 +78,7 @@ jobs: env: HTTP_BASIC_AUTH: ${{ secrets.HTTP_BASIC_AUTH }} - name: Static HTML export with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} next export + run: ${{ steps.detect-package-manager.outputs.runner }} next build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/next.config.js b/next.config.js index 1de6882..091a542 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,7 @@ const path = require('path'); // eslint-disable-line @typescript-eslint/no-var-requires const nextConfig = { + output: 'export', reactStrictMode: true, compiler: { // Enables the styled-components SWC transform