From b3812a249d990856ab86db95ea3cb5c5a3c61cd2 Mon Sep 17 00:00:00 2001 From: jfh Date: Sat, 19 Sep 2020 17:04:10 +0200 Subject: [PATCH] Create netlify.toml --- netlify.toml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..9e7aa859 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,28 @@ +# 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" + +# Production context: all deploys from the Production branch set in your site's +# deploy contexts will inherit these settings. +[context.release-v5.1.0] + publish = "editor/" + command = "echo 'already built'" + +# Production context: all deploys from the Production branch set in your site's +# deploy contexts will inherit these settings. +[context.master] + publish = "src/editor/" + command = "echo 'already built'" +