- Remove public directory copy (doesn't exist) - Keep static files copy for standalone build
21 lines
477 B
YAML
21 lines
477 B
YAML
version: 1
|
|
frontend:
|
|
phases:
|
|
preBuild:
|
|
commands:
|
|
- npm ci
|
|
- npm run security:check
|
|
# Print env vars for debugging (without exposing values)
|
|
- env | grep CONFLUENCE | sed 's/=.*/=***/'
|
|
build:
|
|
commands:
|
|
- npm run build
|
|
- cp -r .next/static .next/standalone/.next/
|
|
artifacts:
|
|
baseDirectory: .next/standalone
|
|
files:
|
|
- '**/*'
|
|
cache:
|
|
paths:
|
|
- node_modules/**/*
|
|
- .next/cache/**/* |