From fee7454dce6b5e4c1f41bbc358632a345c21a070 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 1 Jan 2022 15:15:22 -0600 Subject: [PATCH] adjust netlify to support branch-deploys --- netlify.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index d6a303f..89801e2 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,11 @@ [build] - command = "hugo" publish = "public" [build.environment] HUGO_VERSION = "0.89.4" + +[context.production] + command = "hugo" + +[context.deploy-preview] + command = "hugo --environment staging"