Skip to content

2023.10.27

2023.10.27 #11

Workflow file for this run

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 }}