Skip to content

Commit

Permalink
Merge pull request kodadot#11313 from kodadot/ci--adjust-netlify-memo…
Browse files Browse the repository at this point in the history
…ry-deployment
  • Loading branch information
vikiival authored Dec 31, 2024
2 parents 79c9056 + a796318 commit d27e822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build]
# This will be your default build command.
command = "pnpm run generate"
command = "pnpm run generate:netlify"
# This is the directory that you are publishing from.
publish = "dist"

Expand All @@ -16,7 +16,7 @@
targetPort = 9090

[context.deploy-preview]
command = 'export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate'
command = 'export BASE_URL=$DEPLOY_PRIME_URL && env && pnpm run generate:netlify'

[context.production]
command = 'export BASE_URL=$URL && env && pnpm run generate'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"start": "nuxi preview",
"start:node": "PORT=9090 node .output/server/index.mjs",
"generate": "nuxi build",
"generate:netlify": "NODE_OPTIONS='--max-old-space-size=8192' nuxi build",
"lint": "eslint .",
"lint:quiet": "eslint . --quiet",
"lint:fix": "eslint . --fix",
Expand Down

0 comments on commit d27e822

Please sign in to comment.