diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 64c537ce..4304266e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -71,8 +71,6 @@ jobs: file_pattern: 'generated.json' skip_checkout: true push_options: '--force' - - name: Static HTML export with Next.js - run: npm run export - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9fcb913b..5c29ade3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -43,8 +43,6 @@ jobs: run: npm run build env: GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - - name: Static HTML export with Next.js - run: npm run export - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/next.config.js b/next.config.js index 6d338d07..a3b25e43 100644 --- a/next.config.js +++ b/next.config.js @@ -4,6 +4,7 @@ const nextConfig = { reactStrictMode: true, productionBrowserSourceMaps: true, trailingSlash: true, + output: "export" } module.exports = nextConfig