mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add PRODUCTION env to Netlify context.production
This commit is contained in:
parent
312a3bd04a
commit
d1a30c9aa2
1 changed files with 11 additions and 0 deletions
11
netlify.toml
11
netlify.toml
|
|
@ -10,6 +10,17 @@
|
|||
CI = "1"
|
||||
|
||||
|
||||
|
||||
|
||||
# Production context: all deploys from the Production branch set in your site’s
|
||||
# deploy contexts will inherit these settings.
|
||||
[context.production]
|
||||
command = "npm run generate --quiet && npm test"
|
||||
environment = { NODE_ENV = "PRODUCTION" }
|
||||
|
||||
|
||||
|
||||
|
||||
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects
|
||||
|
||||
# old node redirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue