2020-09-19 15:04:10 +00:00
|
|
|
# Settings in the [build] context are global and are applied to all contexts
|
|
|
|
# unless otherwise overridden by more specific contexts.
|
|
|
|
[build]
|
|
|
|
# Directory to change to before starting a build.
|
|
|
|
# This is where we will look for package.json/.nvmrc/etc.
|
|
|
|
base = "/"
|
|
|
|
|
|
|
|
# Directory that contains the deploy-ready HTML files and assets generated by
|
|
|
|
# the build. This is relative to the base directory if one has been set, or the
|
|
|
|
# root directory if a base has not been set. This sample publishes the
|
|
|
|
# directory located at the absolute path "root/project/build-output"
|
|
|
|
publish = "dist/"
|
|
|
|
|
|
|
|
# Default build command.
|
|
|
|
command = "npm run build"
|
|
|
|
|
2021-01-03 18:57:10 +00:00
|
|
|
[context."release-v6.0.0"]
|
|
|
|
publish = "/"
|
|
|
|
command = "echo 'branch release-v6.0.0 already built'"
|
2021-05-09 20:57:43 +00:00
|
|
|
|
2020-09-19 16:32:48 +00:00
|
|
|
[context."release-v5.1.0"]
|
2020-09-19 16:30:35 +00:00
|
|
|
publish = "/"
|
2020-09-19 16:32:48 +00:00
|
|
|
command = "echo 'branch release-v5.1.0 already built'"
|
2020-09-19 15:04:10 +00:00
|
|
|
|
|
|
|
|
2021-01-03 18:27:01 +00:00
|
|
|
# Production context: all deploys from the Production branch set in your site's
|
|
|
|
# deploy contexts will inherit these settings.
|
|
|
|
[context."V7-preview"]
|
|
|
|
publish = "/"
|
|
|
|
command = "npm run build"
|
|
|
|
|