-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (35 loc) · 1.08 KB
/
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
36
37
38
39
name: 'Post2BlueSky'
description: 'Send notifications to BlueSky social media for new content updates.'
author: 'Jeff Patton'
branding:
icon: 'bell'
color: 'blue'
inputs:
Message:
description: 'The message to post, should either be plaintext, or bsky record, or bsky record containing a bsky repo'
required: true
type: string
verbose:
description: "A value of verbose will output additional information"
required: false
type: string
default: 'None'
bluesky_api_key:
description: 'Your BlueSky App Password'
required: true
bluesky_identifier:
description: 'Your BlueSky Identifier, something like user.bsky.social'
required: true
runs:
using: 'composite'
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Send BlueSky Notification
env:
BLUESKY_API_KEY: ${{ inputs.bluesky_api_key }}
BLUESKY_IDENTIFIER: ${{ inputs.bluesky_identifier }}
VERBOSE: ${{ inputs.verbose }}
run: |
& $env:GITHUB_ACTION_PATH\\post2bsky.ps1 -Message ${{ inputs.Message }}
shell: pwsh