Bladeren bron

Enable netlify (#951)

Sticking settings in netlify.toml so that they can be changed by all
collaborators, not just me (unfortunately Netlify team accounts cost $$$)
Renée Kooi 6 jaren geleden
bovenliggende
commit
e0a5aa0ee9
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. 11 0
      netlify.toml

+ 11 - 0
netlify.toml

@@ -0,0 +1,11 @@
+[Settings]
+ID = "uppy"
+
+[main]
+# (no main build settings, we use Github Pages)
+
+[context.deploy-preview]
+# netlify caches node_modules and doesn't run `npm install` after the first time,
+# so we have to `run prepare` manually in order to get lerna to do its thing
+command = "npm run prepare && npm run build && npm run web:install && npm run web:disc && npm run web:build"
+publish = "website/public"