From 8af7489f7313ed7ec2b3ddc5e031c9ba13db364c Mon Sep 17 00:00:00 2001 From: Salamandra Devs <120526408+SalamandraDevs@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:53:22 -0500 Subject: [PATCH] Retirando opciones innecesarias No existe rama split y no se requiere branch subdomains en main --- netlify.toml | 42 ++++++++---------------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/netlify.toml b/netlify.toml index c61960e..0860593 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,40 +7,14 @@ HUGO_VERSION = "0.72.0" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" -[context.split1] -command = "hugo --gc --enableGitInfo" - -[context.split1.environment] -HUGO_VERSION = "0.72.0" -HUGO_ENV = "production" - -[context.deploy-preview] -command = "hugo --gc --buildFuture -b $DEPLOY_PRIME_URL" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.72.0" - -[context.branch-deploy] -command = "hugo --gc -b $DEPLOY_PRIME_URL" - -[context.branch-deploy.environment] -HUGO_VERSION = "0.72.0" - -[context.next.environment] -HUGO_ENABLEGITINFO = "true" - -# The following redirect is intended for use with most SPAs that handle -# routing internally. -# [[redirects]] -# from = "/*" -# to = "/index.html" -# status = 200 -# -# [[redirects]] -# from = "https://salamandradevs.netlify.app" -# to = "https://salamandradevs.site" -# status = 301 -# force = true +# Para usar un sobdominio cambia el nombre de customram por el nombre que tu rama personalizada +#[context.custombranch] +#command = "hugo --gc -b https://custombranch.salamandradevs.site" + +#[context.custombranch.environment] +#HUGO_VERSION = "0.72.0" +#HUGO_ENV = "development" +#HUGO_ENABLEGITINFO = "true" [[headers]] # Enable CORS. -- 2.25.1