-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
29 lines (23 loc) · 1.02 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[build]
publish = "public"
command = "zola build" # -- restore when back to published version
# command = "curl -sL https://github.com/scouten/zola/releases/download/v0.16.1.es1/zola.tar.gz | tar zxv && chmod +x ./zola && ./zola build"
[build.environment]
ZOLA_VERSION = "0.19.2" # -- restore when back to published version
# The magic for deploying previews of branches.
# We need to override the base url with whatever url Netlify assigns to our
# preview site. We do this using the Netlify environment variable
# `$DEPLOY_PRIME_URL`.
[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL" # -- restore when back to published version
# command = "curl -sL https://github.com/scouten/zola/releases/download/v0.16.1.es1/zola.tar.gz | tar zxv && chmod +x ./zola && ./zola build --base-url $DEPLOY_PRIME_URL"
[[redirects]]
from = "/country"
to = "/log"
force = true
status = 301
[[redirects]]
from = "/2023/06-20+summer-break/36-38-into-british-columbia/"
to = "/2023/07-25-british-columbia/"
force = true
status = 301