Skip to content

GitHub action to submit a Bluesky post using the ATP protocol. ✨

License

Notifications You must be signed in to change notification settings

smapiot/send-bluesky-post-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Send Formatted Bluesky Post Action

This GitHub action publishes an automatically formatted Bluesky Post using the ATP protocol.

It is meant as a simple alternative that is reduced in options - automatically detecting links, tags, ... to form valid Bluesky posts.

Inputs

status

Required The content of the post to send.

bluesky-email

Required The email address of the account to authenticate.

bluesky-password

Required The password of the account to authenticate.

authority

Optional The host name of the ATP server to use. By default, bsky.social is used.

Outputs

cid

The CID of the created post.

uri

The URI of the created post.

Example Usage

The simplified usage looks like:

uses: smapiot/send-bluesky-post-action@v1
with:
  status: 'Hi Mum!'
  bluesky-email: '[email protected]'
  bluesky-password: 'abcDEF1234'

A complete example could thus look as follows:

on:
  push:
    branches:
      - main

jobs:
  publish-pilet:
    name: Send Bluesky Post
    runs-on: [ubuntu-16.04]
    steps:
    - name: Post
      uses: smapiot/send-bluesky-post-action@v1
      with:
        status: 'Hi Mum!'
        bluesky-email: '[email protected]'
        bluesky-password: 'abcDEF1234'

About

GitHub action to submit a Bluesky post using the ATP protocol. ✨

Resources

License

Stars

Watchers

Forks

Packages

No packages published