Is there a file amount limit (20k) during the build phase of Pages?

Does the 20k file limit throw during the build phase or only upon final output? I'm generating static HTML in the builder, which will soon output more than 20k HTML files, which I will transfer to R2 and delete in the local build before the build finishes. Will that work, or will Pages throw an error as soon as 20k files are in the build env?
5 Replies
Hard@Work
Hard@Work7mo ago
As long as you don't exceed the max storage of the build container, it should be fine
kabocha
kabochaOP7mo ago
Thanks, what's the max storage of the build container?
Hard@Work
Hard@Work7mo ago
Not sure off the top of my head tbh
kabocha
kabochaOP7mo ago
No worries, I'll cross that bridge later, thanks! 8 GB I believe
Chaika
Chaika7mo ago
~120 gb Pages, ~8 gb (but like ~5 gb usable after base tooling) workers ci/cd

Did you find this page helpful?