-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 986 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Send Formatted Bluesky Post'
description: 'Publish an automatically formatted Bluesky post using the ATP protocol.'
branding:
icon: package
color: green
inputs:
status:
description: 'The content of the post to send.'
required: true
default: 'Hello World!'
bluesky-email:
description: 'The email address of the account to authenticate.'
required: true
default: 'foo@bar.com'
bluesky-password:
description: 'The password of the account to authenticate.'
required: true
default: '1abc...'
authority:
description: 'The host name of the ATP target. By default "bsky.social" is used.'
required: false
default: 'bsky.social'
outputs:
cid:
description: 'The CID of the created post.'
uri:
description: 'The URI of the created post.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.status }}
- ${{ inputs.bluesky-email }}
- ${{ inputs.bluesky-password }}
- ${{ inputs.authority }}