-
Notifications
You must be signed in to change notification settings - Fork 4
23 lines (20 loc) · 904 Bytes
/
mastodon.yml
File metadata and controls
23 lines (20 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# https://github.com/marketplace/actions/fediverse-action
name: toot-release
# More triggers
# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#release
#on: [push]
on:
release:
types: [published]
jobs:
toot:
runs-on: ubuntu-latest
steps:
- uses: rzr/fediverse-action@master
with:
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
host: "ecoevo.social" # custom host if not "mastodon.social" (default)
# GitHub event payload
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
# repo name can be queried with ${{ github.event.repository.name }}
message: "New release of trident and xerxes: ${{ github.event.release.tag_name }}! Please see the changelog here: ${{ github.event.release.html_url }} #aDNA #OpenData #Haskell"