Agregando archivo de configuraciĆ³n de Netlify
[salamandradevs.site/.git] / netlify.toml
1 [build]
2 publish = "public_html"
3 command = "hugo --gc"
4
5 [context.production.environment]
6 HUGO_VERSION = "0.72.0"
7 HUGO_ENV = "production"
8 HUGO_ENABLEGITINFO = "true"
9
10 [context.split1]
11 command = "hugo --gc --enableGitInfo"
12
13 [context.split1.environment]
14 HUGO_VERSION = "0.72.0"
15 HUGO_ENV = "production"
16
17 [context.deploy-preview]
18 command = "hugo --gc --buildFuture -b $DEPLOY_PRIME_URL"
19
20 [context.deploy-preview.environment]
21 HUGO_VERSION = "0.72.0"
22
23 [context.branch-deploy]
24 command = "hugo --gc -b $DEPLOY_PRIME_URL"
25
26 [context.branch-deploy.environment]
27 HUGO_VERSION = "0.72.0"
28
29 [context.next.environment]
30 HUGO_ENABLEGITINFO = "true"
31
32 # The following redirect is intended for use with most SPAs that handle
33 # routing internally.
34 # [[redirects]]
35 #   from = "/*"
36 #   to = "/index.html"
37 #   status = 200
38 #
39 # [[redirects]]
40 #  from = "https://salamandradevs.netlify.app"
41 #  to = "https://salamandradevs.site"
42 #  status = 301
43 #  force = true
44
45 [[headers]]
46   # Enable CORS.
47   for = "/*"
48     [headers.values]
49     Access-Control-Allow-Origin = "*"