From bc1fe97e8077c8aeb707157ba289a5f14d9e246a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez?= Date: Wed, 8 May 2024 16:54:10 +0200 Subject: [PATCH] deploy workflow try 5 --- .github/workflows/publish-gh-pages.yml | 2 +- client/next-gh.config.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 client/next-gh.config.js diff --git a/.github/workflows/publish-gh-pages.yml b/.github/workflows/publish-gh-pages.yml index 748f6e7f..7d45478d 100644 --- a/.github/workflows/publish-gh-pages.yml +++ b/.github/workflows/publish-gh-pages.yml @@ -43,7 +43,7 @@ jobs: # 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 + generator_config_file: ./client/next-gh.config.js - name: Restore cache uses: actions/cache@v4 with: diff --git a/client/next-gh.config.js b/client/next-gh.config.js new file mode 100644 index 00000000..dd9a9ed2 --- /dev/null +++ b/client/next-gh.config.js @@ -0,0 +1,11 @@ +/** @type {import('next').NextConfig} */ + +const nextConfig = { + output: 'export', + basePath : '/4-growth', + images: { + unoptimized: true, + } +}; + +export default nextConfig;