I may be overthinking this, but …
It is starting to bother me that I build and rebuild my site locally until everything works right, then I run the build again in ‘production’ environment so everything is purged and minified. I push the final result to GitHub. GitHub now contains all of my site, except for my final build folder (dist/ in this case). Netlify sees the changes and pulls them in, rebuilding the site. Hopefully in production mode, if I have set it up correctly.
In some ways this feels very redundant, in the sense of “OK, I’ve built the site, it works, now you build it again!”
Additionally, as far as CI goes, Netlify builds aren’t the fastest thing in the world. Each time it downloads and installs pretty much every dependency all over again, or at least it seems that way.
So is there an alternative path, where I can still use Netlify but have it just display my dist/ folder without a build? Would that defeat the purpose of Netlify?