We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d36f7f1 commit f5a3d1cCopy full SHA for f5a3d1c
3 files changed
.gitignore
@@ -1,4 +1,7 @@
1
node_modules
2
dist
3
.DS_Store
4
+
5
+# Zola Docs
6
+#
7
docs/public
docs/build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Build Zola on Netlify
+ZOLA_BIN=$(binrc install getzola/zola)
+"$ZOLA_BIN" build $@
netlify.toml
@@ -0,0 +1,12 @@
+# https://www.getzola.org/documentation/deployment/netlify/
+[build]
+base = "docs"
+publish = "public"
+command = "ZOLA_BIN=$(binrc install getzola/zola) && $ZOLA_BIN build"
8
+[build.environment]
9
+ZOLA_VERSION = "0.21.0"
10
11
+[context.deploy-preview]
12
+command = "ZOLA_BIN=$(binrc install getzola/zola) && $ZOLA_BIN build --base-url $DEPLOY_PRIME_URL"
0 commit comments