Skip to content

Add push trigger for autotoot branch #1

Add push trigger for autotoot branch

Add push trigger for autotoot branch #1

Workflow file for this run

name: Test auto-toot
on:
push:
branches: [autotoot]
workflow_dispatch:
jobs:
post-to-mastodon:
name: Post to Mastodon
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- run: go mod download
- name: Auto-toot
env:
MASTODON_ACCESS_TOKEN: "I HOPE THIS WORKS"
run: go run auto-toot.go