diff --git a/next.config.ts b/next.config.ts index 2cfe35b..df6c635 100644 --- a/next.config.ts +++ b/next.config.ts @@ -14,7 +14,8 @@ const nextConfig = { ], }, - output: "standalone", + output: "export", + basePath: "/proxmox-helper-scripts", async rewrites() { return [ diff --git a/package.json b/package.json index 3bed1a7..ac0364a 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "build": "next build", "start": "next start", "lint": "next lint", + "deploy": "next build && touch out/.nojekyll && git add out/ && git commit -m \"Deploy\" && git subtree push --prefix out origin gh-pages", "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache", "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache", "typecheck": "tsc --noEmit"