From 6c48ab1dac7e8374d267cd9754e4278bc2e59a3c Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 25 Apr 2023 00:18:11 +0800 Subject: [PATCH] Update Netlify config --- netlify.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 7fb101f..796407a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,8 +7,12 @@ HUGO_BASEURL = "$DEPLOY_URL" [context.branch-deploy] command = "make build-draft -e" -environment.HUGO_BASEURL = "$DEPLOY_PRIME_URL" + +[context.branch-deploy.environment] +HUGO_BASEURL = "$DEPLOY_PRIME_URL" [context.deploy-preview] command = "make build-draft -e" -environment.HUGO_BASEURL = "$DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] +HUGO_BASEURL = "$DEPLOY_PRIME_URL"