diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 54ecba7081fe588792a329cd70cb04671724db95..fd5e729c6ecb2d4a0cb27cc12fdb0b19a747a80d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ stages:
 
 variables:
   # Répertoire où le site sera généré
-  PUBLIC_DIR: dist
+  PUBLIC_DIR: .output/public
 
 before_script:
   # Installer les dépendances
@@ -21,7 +21,7 @@ build:
   stage: build
   script:
     # Construire le site avec Vite (le bundler par défaut pour SolidJS)
-    - yarn build
+    - yarn build-static
   artifacts:
     paths:
       - $PUBLIC_DIR
diff --git a/app.config.ts b/app.config.ts
index de7f83103a189ce4771eb29ffa9e6c03c7d87fb6..ef2ee8aa37057ba529f24d8650b6dcd698cf5eaa 100644
--- a/app.config.ts
+++ b/app.config.ts
@@ -1,3 +1,12 @@
 import { defineConfig } from "@solidjs/start/config";
 
-export default defineConfig({});
+export default defineConfig({
+    ssr: true,
+    server: {
+      
+      prerender: {
+        crawlLinks: true
+      },
+      preset: 'static'
+    }
+  });
\ No newline at end of file
diff --git a/package.json b/package.json
index e8d2491fbbfd123e3afd7b420d06c84e7890fe12..06a6a1dbc14eb8769037a2bd5ff29bf927deab7d 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,8 @@
     "dev": "vinxi dev",
     "build": "vinxi build",
     "start": "vinxi start",
-    "version": "vinxi version"
+    "version": "vinxi version",
+    "build-static": "vinxi build --preset static"
   },
   "dependencies": {
     "@solidjs/meta": "^0.29.4",