mirror of https://github.com/R2Northstar/Northstar
17 lines
459 B
YAML
17 lines
459 B
YAML
name: Post-to-Mastodon
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
toot:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Send toot to Mastodon
|
|
id: mastodon
|
|
uses: cbrgm/mastodon-github-action@v2
|
|
with:
|
|
message: "We just released Northstar ${{ github.event.release.tag_name }}\n\n${{ github.event.release.html_url }}"
|
|
url: ${{ secrets.MASTODON_URL }}
|
|
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
|