Deploy website to GitHub Pages

This commit is contained in:
2026-08-26 20:06:52 -04:00
parent 0c17689368
commit 96d152f592
6 changed files with 87 additions and 12 deletions
+9
View File
@@ -4,10 +4,19 @@
*/
import "./src/env.js";
const isGitHubPages = process.env.GITHUB_PAGES === "true";
/** @type {import("next").NextConfig} */
const config = {
...(isGitHubPages
? {
output: "export",
trailingSlash: true,
}
: {}),
images: {
qualities: [75, 92],
unoptimized: isGitHubPages,
},
};