Send Webmentions with GitHub Actions
Action that uses
curl to send your webmentions. It gets the most recent addition to a JSON feed (ideally, your latest post), looks for the value of a key called
uri (ideally, your post's permalink) and sends webmentions for it.
The services currently in the file are webmention.app and brid.gy, but any service that can be triggered with a POST request will work fine with this.
This workflow file is run once another GitHub Action named "Build" completes successfully.
Put it in
Set a repository secret called
URL with your website's JSON feed, e.g.
You don't need to set
GITHUB_TOKEN, this is built-in.