[build] base = "/" publish = "public/" command = "hugo --minify " [build.environment] HUGO_VERSION = "0.114.0" [[redirects]] from = "/docs/*" to = "/:splat" status = 302 [[redirects]] from = "/v1.9/concepts/managed-resources.html" to = "/latest/concepts/managed-resources" status = 302 [[redirects]] from = "/v1.9/concepts/providers.html" to = "/latest/concepts/providers" status = 302 [[redirects]] from = "/v1.9/getting-started/create-configuration" to = "/latest/getting-started" status = 302 [[redirects]] from = "/v1.9/getting-started/install-configure" to = "/latest/software/install/" status = 302 [context.deploy-preview] command = "bash netlify_build.sh" [context.production] command = "bash netlify_build.sh" # Use [dev] to set configuration overrides for local # development environments run using Netlify Dev - except # for environment variables. Environment variables for Netlify # Dev should be set under [context.dev.environment] instead. [dev] command = "hugo server" port = 8888