-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnetlify.toml
More file actions
44 lines (31 loc) · 1.21 KB
/
netlify.toml
File metadata and controls
44 lines (31 loc) · 1.21 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[context.branch-deploy]
command = "sed -i \"s/url: .*$/url: $DEPLOY_PRIME_URL/\" _staging.yml; bundle exec jekyll build --config _config.yml,_staging.yml && bundle exec rspec"
[[context.branch-deploy.plugins]]
package = "netlify-plugin-seo-lint"
[context.branch-deploy.plugins.inputs]
internalLinksTrailingSlash = false
[context.deploy-preview]
command = "sed -i \"s/staging/&-$REVIEW_ID/\" _staging.yml; bundle exec jekyll build --config _config.yml,_staging.yml && bundle exec rspec"
[[context.deploy-preview.plugins]]
package = "netlify-plugin-seo-lint"
[context.deploy-preview.plugins.inputs]
host = "https://staging-$REVIEW_ID.cmbuckley.co.uk"
hostExpansion = true
internalLinksTrailingSlash = false
[[context.production.plugins]]
package = "netlify-plugin-seo-lint"
[context.production.plugins.inputs]
internalLinksTrailingSlash = false
[build]
command = "bundle exec jekyll build --config _config.yml,_staging.yml && bundle exec rspec"
[build.environment]
RUBY_VERSION = "3.3.4"
[[plugins]]
package = "netlify-plugin-html-validate"
[plugins.inputs]
ext = "html"
config = ".htmlvalidate.json"
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex, nofollow"