From 5d648a2fbf2d6b788ae6a6e19b6653026587e8f4 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 9 Jul 2022 13:54:10 +0200 Subject: Debug netlify env --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netlify.toml') 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' -- cgit v1.2.3