Announce new blog posts on Bluesky
When I create a new blog post, announce it on Bluesky
- Lexicon
site.standard.document- Operations
- Record created
- By
- @airglow.run
Conditions
event.didequals{{self}}sitestarts withat://
Data Sources
publication←{{event.commit.record.site}}— Fetch the publication to get its URL
Actions (2)
Action 1 Bluesky Post 1
- Text Template
Checkout my new article: {{event.commit.record.title}} {{publication.record.url}}{{event.commit.record.path}}- Languages
- en
Action 2 Update Record 1 — Link the blog post to the Bluesky post
- Target Collection
site.standard.document- Base Record URI
at://{{event.did}}/site.standard.document/{{event.commit.rkey}}- Patch Template
{ "bskyPostRef": { "cid": "{{action1.cid}}", "uri": "{{action1.uri}}" } }