Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger build from Sanity data change? #1198

Closed
leefisher opened this issue May 20, 2020 · 9 comments
Closed

Trigger build from Sanity data change? #1198

leefisher opened this issue May 20, 2020 · 9 comments

Comments

@leefisher
Copy link

How do I trigger changes when I update data in sanity? I saw an old issue about webhook but couldn't find any solution so what is the preferred way for handling this?

@jamesgrubb
Copy link

Hi did you ever work this out? Thanks

@leefisher
Copy link
Author

Hi did you ever work this out? Thanks

No I haven't yet gotten back to it, James.

@treb0r
Copy link

treb0r commented Aug 25, 2020

The documentation for this is here.

@jamesgrubb
Copy link

Nice one thanks

@leefisher
Copy link
Author

The issue is how to handle it on the eleventy side. There is potential workaround in #1358 , but you still basically end up setting up your own endpoint.

@antgel
Copy link

antgel commented Oct 30, 2023

I think #3085 and 11ty/eleventy-dev-server#70 should help with this, if anyone is reading and interested.

@zachleat
Copy link
Member

@treb0r was likely the most correct — you’ll want to set up a webhook to trigger a build on your web host.

For folks wanting something on your local build, please subscribe to #3085 as @antgel linked — thank you!

@antgel
Copy link

antgel commented May 28, 2024

@zachleat Great to see you here and congrats on going full-time, Gem Agile looks forward to chipping in to the pot. :) I need to rebase the PRs involved and am happy to do this. When rebased will they be merged into main at some point?

@zachleat
Copy link
Member

Hey @antgel! I’m cleaning up the issue tracker and I’ll circle to project PRs next (I think your PR shouldn’t require much updating, if any)! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants