I feel like Max is about two years ahead of me on everything 😁 Here I am thinking about getting Twitter syndication working on Netlify, and he wrote a perfect tutorial back in 2019. Definitely need to give this a spin! The basic concept is to provide a JSON feed of new "tweets" (or thoughts, or notes, or whatever you want to call them) and then use a Netlify "Function" to parse that feed, connect to the Twitter API, and fire off your tweets on build. Very cool!
To trigger our custom function everytime a new version of the site was successfully deployed, we just need to name it
deploy-succeeded.js. Netlify will then automatically fire it after each new build, while also making sure it’s not executable from the outside.