summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2020-11-14 21:28:34 +0100
committerAlan Pearce2020-11-14 21:52:50 +0100
commited02c2bb896a74896fac0191fe40298a2143ad40 (patch)
tree789840c6b5d85f3f77ebb452e2dc0da7e111d387
parentfa837f2e05dd12b6d1ea3c5bb7aac7c86fa9ff1a (diff)
downloadwebsite-ed02c2bb896a74896fac0191fe40298a2143ad40.tar.xz
website-ed02c2bb896a74896fac0191fe40298a2143ad40.zip
Fix site URL on branch deployments
-rw-r--r--netlify.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index bf33892..119ae98 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -4,6 +4,12 @@
4 [build.environment] 4 [build.environment]
5 ZOLA_VERSION = "0.12.2" 5 ZOLA_VERSION = "0.12.2"
6 6
7[context.deploy-preview]
8command = "zola build --base-url $DEPLOY_PRIME_URL"
9
10[context.branch-deploy]
11command = "zola build --base-url $DEPLOY_PRIME_URL"
12
7[[redirects]] 13[[redirects]]
8 from = "https://alanpearceeu.netlify.com/*" 14 from = "https://alanpearceeu.netlify.com/*"
9 to = "https://www.alanpearce.eu/:splat" 15 to = "https://www.alanpearce.eu/:splat"