3 ms·
What if I already have static HTML and just need a host? No builds (I do them locally), no frameworks, just an HTML structure. I'd love to just be able to point
by jshier 6y ago
What if I already have static HTML and just need a host? No builds (I do them locally), no frameworks, just an HTML structure. I'd love to just be able to point to a git repo and have the site published through Cloudflare, since it already sits in front of my site anyway.
- rita3ko 6y agoHi there, I'm the PM working on Cloudflare Pages. We don't have support for this now since we're still in beta, so not everything is there yet, but it's certainly a use case we intend to support. You'll just be able to specify no build step. :)
- jshier 6y agoThat's what I figured, thanks.
- markelliot 6y agoLinked in response to a question I asked below, it seems like you can use CloudFlare Workers to host a static site: https://developers.cloudflare.com/workers/platform/sites https://developers.cloudflare.com/workers/platform/sites But also, from reading the Pages docs I wager you can also make the build command something like `echo done` and then set the build directory in your configuration to be `.`.
- tmk1108 6y agoI might be getting confused reading their docs but isn't this what you want? https://developers.cloudflare.com/pages/how-to/deploy-anything https://developers.cloudflare.com/pages/how-to/deploy-anythi... With optional build command, can't you just leave it empty and then point to the directory that has your HTML files?
- Judson 6y agoI saw your comment and implemented the ability to connect a repository of static files and host them on our app platform (Uffizzi.com) -- we have a generous free tier! Email is in my profile if you have any questions or feature requests.