wahab
CDCloudflare Developers
•Created by wahab on 1/3/2025 in #pages-help
Remix SSR build on Github Actions
I moved my builds to github actions for caching.
The project is a monorepo with multiple remix packages, two are in SPA mode, and deploy fine, since there is no build/server.
One of the packages is in SSR mode, and returns a 404 since the functions directory is not built into a worker by the remix vite:build command, understandably.
I'm struggling to get this deployment working, could someone direct me to some docs?
I found a hidden "wrangler pages functions build" command which does compile the functions directory into a worker, but I'm not sure what the exact steps are to get it up and running on pages
3 replies