all repos — website @ ed02c2bb896a74896fac0191fe40298a2143ad40

My website

Fix site URL on branch deployments
Alan Pearce alan@alanpearce.eu
Sat, 14 Nov 2020 21:28:34 +0100
commit

ed02c2bb896a74896fac0191fe40298a2143ad40

parent

fa837f2e05dd12b6d1ea3c5bb7aac7c86fa9ff1a

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M netlify.tomlnetlify.toml
@@ -4,6 +4,12 @@ command = "zola build"   [build.environment]
     ZOLA_VERSION = "0.12.2"
 
+[context.deploy-preview]
+command = "zola build --base-url $DEPLOY_PRIME_URL"
+
+[context.branch-deploy]
+command = "zola build --base-url $DEPLOY_PRIME_URL"
+
 [[redirects]]
   from = "https://alanpearceeu.netlify.com/*"
   to = "https://www.alanpearce.eu/:splat"