Skip to content

Commit

Permalink
chore(SLB-449): serve on non Lagoon environments
Browse files Browse the repository at this point in the history
  • Loading branch information
colorfield committed Aug 12, 2024
1 parent ac7cf1a commit af5de10
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions apps/website/publisher.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ export default defineConfig({
outputTimeout: 1000 * 60 * 10,
},
clean: 'pnpm clean',
serve: {
command: 'pnpm netlify dev --cwd=. --dir=public --port=7999',
readyPattern: 'Server now ready',
readyTimeout: 1000 * 60,
port: 7999,
},
// Serve only on non Lagoon environments.
serve: !isLagoon
? {
command: 'pnpm netlify dev --cwd=. --dir=public --port=7999',
readyPattern: 'Server now ready',
readyTimeout: 1000 * 60,
port: 7999,
}
: undefined,
deploy: isNetlifyEnabled
? [
`pnpm netlify env:set AWS_LAMBDA_JS_RUNTIME nodejs18.x`,
Expand Down

0 comments on commit af5de10

Please sign in to comment.