Skip to content

Commit

Permalink
feat: configure netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Mar 3, 2020
1 parent 637f559 commit 83595ce
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions web/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[build]
base = "web/"
publish = "web/dist"
command = "npm install && npm run build && ls -laR dist/"
ignore = "git diff --quiet HEAD^ HEAD -- ."

[build.environment]
YARN_FLAGS = "--no-ignore-optional"
API_URL = "https://depviz-demo.moul.io/api"

[context.production.environment]
API_URL = "https://depviz-demo.moul.io/api"

0 comments on commit 83595ce

Please sign in to comment.