forked from drips-network/app
-
Notifications
You must be signed in to change notification settings - Fork 2
/
netlify.toml
18 lines (13 loc) · 833 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[build.environment]
[context.deploy-preview]
command = "mv robots-disallow.txt ./static/robots.txt && npm i esbuild && npm run build:graphql && BUILD_DEPLOY_URL=\\\"$DEPLOY_URL\\\" npm run build"
[context.branch-deploy]
command = "mv robots-disallow.txt ./static/robots.txt && npm i esbuild && npm run build:graphql && BUILD_DEPLOY_URL=\\\"$DEPLOY_URL\\\" npm run build"
[context.dev]
command = "mv robots-disallow.txt ./static/robots.txt && npm i esbuild && npm run build:graphql && BUILD_DEPLOY_URL=\\\"$DEPLOY_URL\\\" npm run build"
[context.production]
command = "mv robots-allow.txt ./static/robots.txt && npm i esbuild && npm run build:graphql && BUILD_DEPLOY_URL=\\\"$DEPLOY_URL\\\" npm run build"
[[redirects]]
from = "https://beta.drips.network/*"
to = "https://drips.network/:splat"
status = 301