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 = "groovin-music/"
-- Directory (relative to root of your repo) that contains the deploy-ready
-- HTML files and assets generated by the build. If a base directory has been specified, include it in the publish directory path.
publish = "groovin-music/build/"
Default build command.
command = "yarn build"
Production context: all deploys from the Production branch set in your site's deploy contexts will inherit these settings.
[context.production]
publish = "groovin-music/build/"
Default build command.
command = "yarn build"
[context.staging]
'staging' is a branch name
command = "echo 'staging'" base = "staging"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200