How to configure a webhook to 'clear cache and build master' #32185
Unanswered
membersheep
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a gatsby website. In the homepage I have a carousel which loads some elements with a static graphql query and i filter them with a isFuture schema customization:
The site build is triggered every day by a webhook. The problem is that the current date seems not to be updated at each build, but if I manually run clear cache and build master instead of just pressing the Trigger Build button it works correctly.
Is there a way to configure the webhook to run clear cache and build master instead of just Trigger Build ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions