We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 587363f commit cd971e5Copy full SHA for cd971e5
.github/workflows/post-to-mastodon.yml
@@ -0,0 +1,17 @@
1
+name: Post-to-Mastodon
2
+on:
3
+ release:
4
+ types: [published]
5
+
6
+jobs:
7
+ toot:
8
+ runs-on: ubuntu-22.04
9
+ steps:
10
+ - name: Send toot to Mastodon
11
+ id: mastodon
12
+ uses: cbrgm/mastodon-github-action@v1
13
+ with:
14
+ message: "We just released Northstar ${{ github.event.release.tag_name }}\n\n${{ github.event.release.html_url }}"
15
+ env:
16
+ MASTODON_URL: ${{ secrets.MASTODON_URL }}
17
+ MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
0 commit comments