Multisite - After deploy, all interior pages 404

This one has been going on for a while, but it only happens on a multi-site build. Whenever I deploy a new site build, every page on the site 404s.

The “solution” so far has been to login to the admin, go to pages, pick any page and click the “view” button below the page title in the admin. The page will load fine. Once I do that once, it works for all typical web users from then on until I do another deploy.

I haven’t had time in the past to investigate this, but thought I would check to see if anyone else has ever experienced this when deploying to a remote multi-site with trellis.

Note: Assuming this has to do with multisite somehow since it doesn’t happen on any other deploy I do, but can’t confirm it’s related.