Skip to content

Commit 8e88239

Browse files
committed
Publish a Mastodon post on push
Publishes a post to the Northstar Mastodon account on push
1 parent 587363f commit 8e88239

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Post-to-Mastodon
2+
on: [push]
3+
4+
env:
5+
NORTHSTAR_VERSION: ${{ github.ref_name }}
6+
7+
jobs:
8+
build-northstar:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
- name: Send toot to Mastodon
12+
id: mastodon
13+
uses: cbrgm/mastodon-github-action@v1
14+
with:
15+
message: "Hello from GitHub Actions!"
16+
env:
17+
MASTODON_URL: ${{ secrets.MASTODON_URL }}
18+
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)