Webmentions on a static site with GitHub Actions

Sebastian his website supports Webmentions. To show these on his website he used a tad of JS to display them underneath each page. Not being 100% happy with that flow, he sought a better way to implement these …

After some tinkering, I came up with an alternative: a cron-based GitHub Action that queries webmention.io for new webmentions. The Action then commits them to my site’s repository, so I can access the data with my static site generator, Hugo.

Clever!

Webmentions on a static site with GitHub Actions →

🔥 Those “GitHub Cron Jobs” once again prove to be really powerful. You can even use them to trigger a Netlify build on a daily basis.