Sfoglia il codice sorgente

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 anni fa
parent
commit
e0a5aa0ee9
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  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"