-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
netlify.toml
27 lines (25 loc) · 1.21 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
# Copyright (c) 2016-present Sven Greb <[email protected]>
# This source code is licensed under the MIT license found in the license file.
# Configurations for Netlify.
#
# The project uses sensitive/secret data through git-crypt that are made available as environment variables.
# Unfortunately Netlify currently doesn't provide a way to customize the Docker container configuration so that it is
# not possible to set up GPG and git-crypt to import the CI/CD GPG secret key, decrypt the files and build the project.
#
# This requires to manually set the following build environment variables through Netlify's web app UI before running a
# deployment in order to work properly:
#
# > $NORD_DOCS_GOOGLE_UNIVERSAL_ANALYTICS_TRACKING_ID
# Stores the "Google Universal Analytics" tracking ID.
#
# > $NORD_DOCS_GITHUB_API_TOKEN_READONLY_PUBLIC
# Stores the read-only token for the GitHub GraphQL and REST API to fetch public data.
#
# References:
# 1. https://www.netlify.com/docs/netlify-toml-reference
# 2. https://www.netlify.com/docs/continuous-deployment/#build-environment-variables
# 3. https://github.com/AGWA/git-crypt
# 4. https://www.gnupg.org/documentation
[build]
command = "npm run build"
publish = "public/"