diff options
author | Alan Pearce | 2020-11-14 21:28:34 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-14 21:52:50 +0100 |
commit | ed02c2bb896a74896fac0191fe40298a2143ad40 (patch) | |
tree | 789840c6b5d85f3f77ebb452e2dc0da7e111d387 | |
parent | fa837f2e05dd12b6d1ea3c5bb7aac7c86fa9ff1a (diff) | |
download | website-ed02c2bb896a74896fac0191fe40298a2143ad40.tar.lz website-ed02c2bb896a74896fac0191fe40298a2143ad40.tar.zst website-ed02c2bb896a74896fac0191fe40298a2143ad40.zip |
Fix site URL on branch deployments
-rw-r--r-- | netlify.toml | 6 |
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 @@ [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" |