-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
28 lines (24 loc) · 1020 Bytes
/
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
[build]
# assuming the gutenberg site is in a docs folder, if it isn't you don't need
# to have a `base` variable but you do need the `publish` and `command`
base = "zola/"
publish = "zola/public/"
command = "make build"
[build.environment]
# Set the version name that you want to use and Netlify will automatically use it
NODE_VERSION = "10.15.3"
YARN_VERSION = "1.16.0"
ZOLA_VERSION = "0.12.2"
# The magic for deploying previews of branches
# We need to override the base url with what the url of the preview is ($DEPLOY_PRIME_URL)
# otherwise links would not work properly
[context.deploy-preview]
command = "make build-preview"
# https://gitlab.com/gitlab-org/gitlab-ce/merge_requests?scope=all&utf8=%E2%9C%93&state=merged&author_username=travismiller
[[redirects]]
from = "/gitlab-merged"
to = "https://bit.ly/travismiller-gitlab-merged"
# http://contributors.gitlab.com/contributors/travis-miller/commits
[[redirects]]
from = "/gitlab-contributor"
to = "https://bit.ly/travismiller-gitlab-contributor"