Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zentered/bluesky-post-action
A GitHub Action to post to Bluesky Social
https://github.com/zentered/bluesky-post-action
atproto bluesky bsky
Last synced: about 2 months ago
JSON representation
A GitHub Action to post to Bluesky Social
- Host: GitHub
- URL: https://github.com/zentered/bluesky-post-action
- Owner: zentered
- License: mit
- Created: 2023-04-18T10:17:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T14:33:45.000Z (9 months ago)
- Last Synced: 2024-10-28T07:00:09.748Z (2 months ago)
- Topics: atproto, bluesky, bsky
- Language: JavaScript
- Homepage: https://github.com/zentered/bluesky-post-action#readme
- Size: 952 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-atproto - A GitHub Action to post to Bluesky Social
README
# Bluesky Post Action
GitHub Action to post to [bsky.app](bsky.app)
## Table of Contents
- [Usage](#usage)
- [Inputs](#inputs)
- [Outputs](#outputs)## Usage
Can be used directly or in combination with another workflow to prepare the post
content.```yaml
name: Post on Bluesky Socialon:
workflow_call:
inputs:
post:
type: string
required: true
secrets:
BSKY_IDENTIFIER:
required: true
BSKY_PASSWORD:
required: truejobs:
bsky-post:
runs-on: ubuntu-latest
steps:
- uses: zentered/[email protected]
with:
post: ${{ inputs.post }}
service: ${{ inputs.service }}
env:
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
```## Inputs
| Name | Requirement | Default | Description |
| --------- | ----------- | ------------------- | ---------------------------- |
| `post` | required | null | Richtext Content for Bluesky |
| `service` | optional | https://bsky.social | at-protocol server |## Outputs
![screenshot of github comment](.github/assets/output.png)
## Testing
You can test this action locally with [act](https://github.com/nektos/act). The
Bluesky identifier and passwords need to be stored in a `.secrets` file, and the
`post` content in a `payload.json` file.```bash
act -P node:16-buster-slim workflow_dispatch -e payload.json --secret-file .secrets
```## Contributing
See [CONTRIBUTING](CONTRIBUTING.md).
## License
See [LICENSE](LICENSE).