forked from w3c/wai-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
28 lines (22 loc) · 1.05 KB
/
netlify.toml
File metadata and controls
28 lines (22 loc) · 1.05 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
[context.production]
# Applies to the staging environment, generated from the `main` branch.
command = "npm install && bundle exec jekyll build --profile --trace --config '_config.yml,_config_staging.yml'"
# with debugging: command = "npm install && bundle exec jekyll build --verbose --trace --config '_config.yml,_config_staging.yml'"
[context.deploy-preview]
# Applies to deploy previews, generated from pull requests.
# Include posts with a future date
command = "git submodule update --init --remote && npm install && bundle exec jekyll build --profile --trace --config '_config.yml,_config_staging.yml' --future"
# with debugging: command = "git submodule update --init --remote && bundle exec jekyll build --verbose --trace --config '_config.yml,_config_staging.yml' --future"
[build]
publish = "_site"
[build.environment]
RUBY_VERSION = "3.3.3"
[[redirects]]
from = "/wai-website"
to = "/"
status = 404
[dev]
command = "bundle exec jekyll serve -w --livereload --config _config.yml,_config_staging.yml"
[functions]
directory = "_functions"
node_bundler = "esbuild"