Successful deployment not showing latest changes
Answered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
Hey everyone, I have deployed some changes to my blog on Vercel but the changes are not visible in Production. However, when I open up the specific deployment and navigate to the
How come the contents of my domain have not updated? Is there a cache that needs to be cleared? Here are my changes:
https://github.com/daniellacoste/blog/commit/87658438b21c830f6d59279d1379b59aa6371607
Source tab, I see that my changes are in fact in the source code. How come the contents of my domain have not updated? Is there a cache that needs to be cleared? Here are my changes:
https://github.com/daniellacoste/blog/commit/87658438b21c830f6d59279d1379b59aa6371607
23 Replies
Northeast Congo LionOP
I tried purging the cache in my project but that still didn’t work. Any help would be appreciated!
American Crow
To my knowldege there are no nextjs caches which persis through deployments
American Crow
okay i take it back
should've read the docs before i typed. Here is some useful contirbution:
@Ray could you go to `vercel.app` > select your project > deployment and see which one have this label
Northeast Congo LionOP
hm I took a look and my latest deployment does in fact have the
Current tag@American Crow should've read the docs before i typed. Here is some useful contirbution:
Northeast Congo LionOP
any idea how I might revalidate the data or full route cache? still unclear to me if those would actually work (I mean, I expect my deployment to just work after any commit has been pushed up to my repo and not have to do anything with the cache after each change..)
@Northeast Congo Lion any idea how I might revalidate the data or full route cache? still unclear to me if those would actually work (I mean, I expect my deployment to just work after any commit has been pushed up to my repo and not have to do anything with the cache after each change..)
your issue doesn't seem like related to cache
@Northeast Congo Lion hm I took a look and my latest deployment does in fact have the `Current` tag
https://blog-2o1miqbxr-daniellacoste.vercel.app/
do you see the new content from this url?
do you see the new content from this url?
@Ray https://blog-2o1miqbxr-daniellacoste.vercel.app/
do you see the new content from this url?
Northeast Congo LionOP
nope, that link 404's / the content isn't visible if i navigate to the
work tab@Northeast Congo Lion nope, that link 404's / the content isn't visible if i navigate to the `work` tab
have you set
IS_TEMPLATE to false?vercel.app > your project > settings > environment variables
@Ray vercel.app > your project > settings > environment variables
Northeast Congo LionOP
hm i've navigated here but can't see this
IS_TEMPLATE flag 🤔@Northeast Congo Lion hm i've navigated here but can't see this `IS_TEMPLATE` flag 🤔
you have to add it and set to false
Answer
because you have this script
Northeast Congo LionOP
ahhh
great call out, let me look
when i'd forked this i did not see that comment, i'll give that a try!
Northeast Congo LionOP
roger
bingo that was the trick @Ray ; thanks so much!