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: - npx tsx scripts/fetch-data.js - npm run build artifacts: baseDirectory: out files: - '**/*' cache: paths: - node_modules/**/* - .next/cache/**/*