After investigating a nightly build script to update a site which has an upcoming events and past events sections that must stay correct each day, I’ve finally discovered Dato’s webhooks feature.
It seems I can rebuild my site (hosted on Netlify) any time I want. I’m thinking of just having my staging and production sites update on every record save. I can use the two environments and draft/published workflow to avoid unfinished content making it to production.
Are there any downsides to doing that continuously? My users have never really understood or cared about the deploy process, having the button just causes confusion. I think if the built site is identical Netlify won’t even bother finishing the deploy, and if the sites are rebuilt many times in a day Netlify will still correctly cache unchanged pages and assets.
Is anyone doing this? Is there anything I’m missing?