Skip to content

Post to Mastodon #14034

Post to Mastodon

Post to Mastodon #14034

Workflow file for this run

name: Post to Mastodon
on:
schedule:
- cron: "0 */1 * * *"
workflow_dispatch:
concurrency:
group: post
cancel-in-progress: false
jobs:
post:
name: Post to Mastodon
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json
- name: Install dependencies
uses: ./.github/workflows/actions/install-dependencies
- name: Post to Mastodon
run: npm run post
env:
MASTO_ACCESS_TOKEN: ${{ secrets.MASTO_ACCESS_TOKEN }}
MASTO_API_ENDPOINT: ${{ secrets.MASTO_API_ENDPOINT }}