Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Netlify deploy configuration
# See https://www.netlify.com/docs/continuous-deployment/#deploy-contexts

# Global settings applied to the whole site.
#
# “publish” is the directory to publish (relative to root of your repo),
# “command” is your build command,
# “base” is directory to change to before starting build. if you set base:
# that is where we will look for package.json/.nvmrc/etc not repo root!

[build]
publish = "site-build"
command = "npm run generate-site"

[[redirects]]
from = "/versions/:majorversion/*"
to = "https://:majorversion--clever-morse-e60990.netlify.com/:splat"
status = 200

[[redirects]]
from = "/unexpected-*"
to = "https://unexpectedjs.github.io/unexpected-:splat"
status = 200