WORKING PERFECTLY #10
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: 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" | |
working-directory: ./auto-toot | |
run: go run main.go |