change build to static
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
28459d0b39
commit
96ffe02da0
|
@ -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
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue