-
-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (28 loc) · 850 Bytes
/
post.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
name: Post
on:
release:
types: [published]
jobs:
post:
name: Post
runs-on: ubuntu-latest
steps:
- name: Repo Url
id: url
run: |
URL="${{ format('{0}/{1}', github.server_url, github.repository) }}"
echo "value=$URL" >> "$GITHUB_OUTPUT"
- name: Toot
id: mastodon
uses: cbrgm/mastodon-github-action@v1
with:
message: |
🦀 Rusty Playdate Updated
New release happens!
${{ steps.url.outputs.value }}
#rust #rustdev #playdate
# TODO: Write good-look link like [github.event.repository.name](url)
visibility: "public" # use `unlisted` for tests
env:
MASTODON_URL: ${{ secrets.MASTODON_URL }}
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}