i use github to build image for prod, however i want some of the pages to be rendered statically.
the problem is since the project is a cms for itself there is no place to request data for static render during build time. is there a nice way to fix this?
the nature of data is its mostly set-and-forget forever but might be updated like once a year
so far my options are:
- spin up second project instance only for build data. - dont want to maintain two project instances
- make pages not-static. - i want a nice architecture and it makes sense that those pages should be static
- request data from prod container. - if prod goes down i would be in even bigger trouble than just fixing prod