Retirando opciones innecesarias
authorSalamandra Devs <120526408+SalamandraDevs@users.noreply.github.com>
Thu, 19 Jan 2023 16:53:22 +0000 (11:53 -0500)
committerGitHub <noreply@github.com>
Thu, 19 Jan 2023 16:53:22 +0000 (11:53 -0500)
No existe rama split y no se requiere branch subdomains en main

netlify.toml

index c61960e36b99003a6fca80ad9c426bea9e7aaca2..0860593d3dd1cb67d7db82a7e6ea900f2f045b14 100644 (file)
@@ -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.