about summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-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 @@
   [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"