forked from couchbase/docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
25 lines (21 loc) · 1 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
[build]
base = "netlify/"
publish = "public/"
command = "sed -i \"s;[email protected]:;https://$GITHUB_TOKEN:[email protected]/;g\" ../staging-antora-playbook.yml && node_modules/.bin/antora --pull --redirect-facility=netlify ../$STAGE-antora-playbook.yml"
[build.environment]
NODE_VERSION = "8"
BUILD_ONLY = "true"
ANTORA_CACHE_DIR = "node_modules/.cache/antora"
STAGE = "staging"
[context.production.environment]
ALGOLIA_APP_ID = "NI1G57N08Q"
ALGOLIA_API_KEY = "d3eff3e8bcc0860b8ceae87360a47d54"
ALGOLIA_INDEX_NAME = "prod_docs_couchbase"
FEEDBACK_BUTTON = "true"
OPTANON_SCRIPT_URL = "https://cdn.cookielaw.org/consent/288c1333-faac-4514-a8bf-a30b3db0ee32.js"
[context.deploy-preview]
command = "sed -i \"s;[email protected]:;https://$GITHUB_TOKEN:[email protected]/;g\" ../staging-antora-playbook.yml && node_modules/.bin/antora --url $DEPLOY_PRIME_URL --pull --redirect-facility=netlify ../$STAGE-antora-playbook.yml"
[[headers]]
for = "/_/font/*"
[headers.values]
Cache-Control = "public,max-age=604800"