diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7051ad0b987f4159cb08e026857124a17164d2b7..54100be1cb596acfb044ee20d60817c08e6d649c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ before_script: pages: script: - npm run build + - build/* public/ artifacts: paths: # The folder that contains the files to be exposed at the Page URL diff --git a/next.config.mjs b/next.config.mjs index ee4fab103342350f01407dcfaaa8c231db4a012d..4c694e268d88a41873d1f339b40e298c3407482d 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,7 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export', - distDir: 'public', + distDir: './build', }