[build]
publish = "public"
command = "npm run netlify-build:preview"

[context.production]
command = "npm run netlify-build:production"

[[redirects]]
from = "https://docs.opentelemetry.io/*"
to = "https://opentelemetry.io/docs/:splat"
force = true

[[redirects]]
from = "https://blog.opentelemetry.io/*"
to = "https://opentelemetry.io/blog/:splat"
force = true

[[headers]]
  for = "/schemas/:version"
  [headers.values]
    content-type = "application/yaml"
