yarn rw g deploy netlify

This commit is contained in:
Rob Cameron
2020-12-07 17:37:36 -08:00
parent c8fd45e362
commit 75a83a7d92
2 changed files with 13 additions and 1 deletions

12
netlify.toml Normal file
View File

@@ -0,0 +1,12 @@
[build]
command = "yarn rw build && yarn rw db up --no-db-client --auto-approve && yarn rw dataMigrate up"
publish = "web/dist"
functions = "api/dist/functions"
[dev]
command = "yarn rw dev"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200