Was there a change in netlify as I now receive during by build (which succeeds but multiple times give s the warning “PM: Invalid TOML configuration format: Key production is already used as table key”:
12:05:06 PM: Build script success
12:05:32 PM: Starting post processing
12:05:32 PM: Invalid TOML configuration format: Key production is already used as table key
12:05:32 PM: Post processing - HTML
12:06:55 PM: Finished processing build request in 7m21.801893404s
12:12:28 PM: Invalid TOML configuration format: Key production is already used as table key
12:12:28 PM: Invalid TOML configuration format: Key production is already used as table key
12:12:28 PM: Post processing - header rules
12:12:28 PM: Invalid TOML configuration format: Key production is already used as table key
12:12:28 PM: Post processing - redirect rules
12:12:28 PM: Invalid TOML configuration format: Key production is already used as table key
12:12:28 PM: Post processing done
12:12:28 PM: Site is live
netlify.toml is:
[build]
publish = "public"
command = "hugo --gc --minify"
# URL: https://mydomain.com
[context.production.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "production"
HUGO_BASEURL = "https://mydomain.com
HUGO_ENABLEGITINFO = "false"
ALGOLIA_DE_PUBS_INDEX_NAME = "prod_kwb_de_pubs"
ALGOLIA_EN_PUBS_INDEX_NAME = "prod_kwb_en_pubs"
[context.production]
command = "hugo --gc --minify && algolia/run-index-upload.sh -p"
# URL: https://dev--mydomain.netlify.app/
[context.dev.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "dev"
HUGO_ENABLEGITINFO = "false"
ALGOLIA_DE_PUBS_INDEX_NAME = "dev_kwb_de_pubs"
ALGOLIA_EN_PUBS_INDEX_NAME = "dev_kwb_en_pubs"
[context.dev]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && algolia/run-index-upload.sh -p"
[context.deploy-preview]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "dev"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "dev"
[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"
[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"