Skip to content

Post to Mastodon

Post to Mastodon #3030

Workflow file for this run

name: "Post to Mastodon"
on:
workflow_dispatch:
schedule:
- cron: '0 */4 * * *'
jobs:
post:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- name: Do post
run: node bot.js
env:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}