summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 13:54:10 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 13:54:10 +0200
commit5d648a2fbf2d6b788ae6a6e19b6653026587e8f4 (patch)
treef54c851f17d3d73295aa462fb1f5029f83841478
parent0942efbdf7fb3573517b2f7e52803c3982529caf (diff)
downloadgohugo-theme-ed-5d648a2fbf2d6b788ae6a6e19b6653026587e8f4.tar.gz
Debug netlify env
-rw-r--r--netlify.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index a819a2d..09218ae 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -18,7 +18,7 @@
# here but we recommend using the Netlify UI for sensitive
# values to keep them out of your source repository.
[context.production]
- command = 'hugo --source=exampleSite --destination ../public'
+ command = 'echo "---\nenv\n---\n~~~ bash\n$(env)\n~~~" >| exampleSite/content/env.md; hugo --source=exampleSite --destination ../public'
[context.production.environment]
HUGO_ENV = 'production'