Announce my blog posts on Bluesky (copy)
When I publish a new blog post, announce it on Bluesky
site.standard.document- Lexicon
site.standard.document- Operations
- Record created
Conditions
event.didequals{{self}}sitestarts withat://
Data Sources (1)
publication— Fetch the publication to get its URL- Lookup
{{event.commit.record.site}}
Actions (2)
Post to BlueskyAction 1
- Text Template
New blog post: {{event.commit.record.title}} {{publication.record.url}}{{event.commit.record.path}}- Languages
- en
Update a recordAction 2- 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}}" } }