It works well, but it breaks each route with a dynamic parameter like this: [id].tsx.
I'm using this version:
source = "milliHQ/next-js/aws"
version = "0.13.2"
EDIT:
I found this:
Dynamic routes
Dynamic routes in Next.js need a server to render the corresponding HTML. That includes pages that are dynamically rendered (e.g. with data from a database) or use a dynamic parameter in their path (example.com/blog/[postId]) where the final paths could not be calculated at build time.
So I think I have to update lambda manually?
If I update with the command terraform apply everything works well but with github action it can't find some files on the dynamic routes.
How can I fix it?
Hi Everyone,
I'm configuring a github action to update our frontend. This is github action's code:
It works well, but it breaks each route with a dynamic parameter like this: [id].tsx.
I'm using this version:
EDIT: I found this: Dynamic routes Dynamic routes in Next.js need a server to render the corresponding HTML. That includes pages that are dynamically rendered (e.g. with data from a database) or use a dynamic parameter in their path (example.com/blog/[postId]) where the final paths could not be calculated at build time.
So I think I have to update lambda manually?
If I update with the command terraform apply everything works well but with github action it can't find some files on the dynamic routes. How can I fix it?