-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathnetlify.toml
More file actions
29 lines (23 loc) · 1.23 KB
/
netlify.toml
File metadata and controls
29 lines (23 loc) · 1.23 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
[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.
# Use the latest versions of submodules, wai-website-theme and wai-website-plugin
# Include posts with a future date
command = "git submodule update --init --remote && npm install && bundle update wai-website-theme --conservative && bundle update wai-website-plugin --conservative && 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.4.8"
[[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"