This reproduction demonstrates an issue where Server Actions return 405 on Vercel when used on statically generated pages.
Server Actions should work on statically generated pages. According to:
On Vercel deployment, submitting a form with a Server Action on a static page returns:
405 Method Not Allowed
The request has the correct next-action header but the static page rejects the POST.