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 artifacts: baseDirectory: ./ files: - .next/**/* - node_modules/**/* - package.json - next.config.js - public/**/* cache: paths: - node_modules/**/* - .next/cache/**/*