vercel / nextjs-portfolio-starter

Easily create a portfolio with Next.js and Markdown.
https://demo.vercel.blog
664 stars 263 forks source link

Adding additional posts after the first half dozen or so and the posts listing page is not showing the latest posts #41

Closed bchesley closed 8 months ago

bchesley commented 9 months ago

The new post listing page works fine for all posts running locally but when deploying via Vercel (GitLab repo) the posts page does not show the latest. See https://bobchesley.net for the site and use https://www.bobchesley.net/posts/angular-mock-window-object to show the latest post (not included on list page). I am not seeing any errors in the build logs or dev tools so not sure how to debug what's going on. The prior two posts that do show required me to promote to prod or redeploy repeatedly but then were good. Any direction to debug this would be greatly appreciated.

bchesley commented 9 months ago

This site is based on the blog Nextra theme BTW

bchesley commented 8 months ago

I added a variable to the site VERCEL_FORCE_NO_BUILD_CACHE = 1 and the issue is no longer happening. I believe it may be related to using a git email locally that is different than the team email I signed up with in Vercel.