Can I disable build cache in Netlify build?


I want to ask one things,
Can I disable build cache in netlify build.

In Netlify build, I want to get git tag list but if I could not get latest git tags,(I cloud get only old cached tags)
I select “Clear cache and Deploy site”, I cloud get latest git tag.

Thank you in advance.

I don’t think there’s an automatic way. Clear cache and deploy option works only when deploying from Netlify UI.

Hi, @hrishikesh
Thank you for the replying.

I will think other way. Thank you.