Nick Harris
Nick Harris
Explore posts from servers
CDCloudflare Developers
Created by Nick Harris on 1/31/2025 in #pages-help
Preserve previous build artifacts when using manual uploads
I ended up solving this by implementing build caching on the GitHub action workflow. The downside is that it means the cache will grow large over time (unless I add some way to prune it automatically), and it means sending more assets than necessary over the wire to CF pages. I'm sure there's some way to improve it by making it only cache the previous build, but this works for now.
3 replies
CDCloudflare Developers
Created by Nick Harris on 1/31/2025 in #pages-help
Preserve previous build artifacts when using manual uploads
This doc seems to indicate that it would preserve the old assets in a cache, but that isn't happening for us: https://developers.cloudflare.com/pages/configuration/serving-pages/#asset-retention
3 replies
DTDrizzle Team
Created by Nick Harris on 1/20/2025 in #help
Zod validation errors when moving from drizzle-kit 0.20.14 to 0.30.2
nevermind, it was due to a way we were modifying the Drizzle enums
2 replies