When building for production my assets have a CDN url prepended, as part of the deploy pipeline prerendering happens directly after building, meaning the urls for the assets 404 in the prerender step because they are not uploaded to the CDN yet.
I guess I would need more control over run order. I need the build to happen, then upload the assets to S3, then prerender, then upload prerendered indexes to redis.
When building for production my assets have a CDN url prepended, as part of the deploy pipeline prerendering happens directly after building, meaning the urls for the assets 404 in the prerender step because they are not uploaded to the CDN yet.
I guess I would need more control over run order. I need the build to happen, then upload the assets to S3, then prerender, then upload prerendered indexes to redis.
Right now running the deploy twice makes it work.