2023.09.21 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |