Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Hi 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. :)


That's what I figured, thanks.


Linked 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

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 `.`.


I might be getting confused reading their docs but isn't this what you want? 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?


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: