change build to static
continuous-integration/drone/push Build is failing Details

This commit is contained in:
hyper-neutrino 2024-04-03 11:44:11 -04:00
parent 28459d0b39
commit 96ffe02da0
3 changed files with 2 additions and 8 deletions

View File

@ -20,16 +20,10 @@ steps:
- install-deps
commands:
- npm run build
- name: export
image: node:20
depends_on:
- build
commands:
- npm run export
- name: deploy-production
image: node:20
depends_on:
- export
- build
environment:
SSH_KEY:
from_secret: DEPLOYMENT_SSH_KEY

View File

@ -2,6 +2,7 @@ const basePath = process.env.NEXT_PUBLIC_BASE_PATH || "";
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
basePath,
assetPrefix: `${basePath}/`,
publicRuntimeConfig: { basePath },

View File

@ -6,7 +6,6 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"export": "next export",
"preview": "bun run build && bun start",
"lint": "eslint \"{app,components}/**/*.{js,ts,jsx,tsx}\"",
"lint:fix": "eslint \"{app,components}/**/*.{js,ts,jsx,tsx}\" --fix"