-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathnetlify.toml
More file actions
18 lines (16 loc) · 908 Bytes
/
netlify.toml
File metadata and controls
18 lines (16 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[build]
base = "www/"
publish = "_site/" # relative to `base` directory
command = "../tools/combine-versions.sh && bundle exec jekyll build"
# Monitor changes in spec/ and tools/ directories outside base directory
# Exit 0 (skip build) if no changes, exit 1 (build) if changes detected
ignore = "bash -c 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../spec/ ../tools/ && exit 0 || exit 1'"
[build.environment]
BUNDLE_GEMFILE = "Gemfile"
[context.deploy-preview]
base = "www/"
publish = "_site/" # relative to `base` directory
command = "../tools/combine-versions.sh && bundle exec jekyll build --drafts --future"
# Monitor changes in spec/ and tools/ directories outside base directory
# Exit 0 (skip build) if no changes, exit 1 (build) if changes detected
ignore = "bash -c 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../spec/ ../tools/ && exit 0 || exit 1'"