This morning I published a post on my #blog about using @eleventy to generate #Netlify scheduled functions.

Actually, the website published it for me...

https://lukeb.co.uk/blog/2022/12/07/letting-eleventy-schedule-its-own-builds/

#WebDevelopment #IndieWeb #JavaScript #StaticFirst

Letting Eleventy Schedule Its Own Builds

Until recently, I've been using GitHub Actions to trigger builds on my website, but this approach meant that builds for the site were only run once a day and that I couldn't schedule specific times for posts to go live. In February of this year, Netlify announced Scheduled Functions, and one of the use cases that I'd seen mentioned was scheduling builds.

@codefoodpixels @eleventy is it possible to use this just to rebuild a site daily? I’m using an api to pull updated data from a feed and need the site to rebuild daily so it has the updated data. I was under the impression that I had to use GitHub actions for this. I found this repo with details https://github.com/Jinksi/netlify-build-github-actions.

Honey I just want the cleanest, easiest way to do this because I have 70 sites that will need to be rebuilt daily.

GitHub - Jinksi/netlify-build-github-actions: An example of triggering a Netlify build using Github Actions Scheduled Events

An example of triggering a Netlify build using Github Actions Scheduled Events - GitHub - Jinksi/netlify-build-github-actions: An example of triggering a Netlify build using Github Actions Schedule...

GitHub
@MarkCodesTheWeb @codefoodpixels @eleventy You could also use just an IFTTT action! Netlify generates deploy webhooks that you can just trigger daily.
@uncenter @codefoodpixels @eleventy thanks this is what we’re doing. We built a CMS on another site that controls all the data for all these sites and we have a daily CRON job that triggers the build hook every morning.