This re-enable deploy-previews through Netlify. It will check if changes where made to the ./docs folder and build + deploy the preview if so. Otherwise, it will deploy a dummy preview. This also removes the netlify script to deploy in production whenever we push to master, as this is now handled by Travis.
11 lines
218 B
TOML
11 lines
218 B
TOML
[Settings]
|
|
|
|
[build]
|
|
[build.environment]
|
|
NODE_ENV = "development"
|
|
YARN_VERSION = "1.9.4"
|
|
|
|
# Deploy previews on each PR
|
|
[context.deploy-preview]
|
|
command = "./scripts/netlify/deploy-preview"
|
|
publish = "docs/dist"
|