Skip to content
Permalink
Browse files
docs: mastodon
  • Loading branch information
caarlos0 committed Nov 20, 2022
1 parent a67f8f8 commit de254d582f2705e22ec2d6ca5a23a89c383b19d7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
@@ -2,14 +2,16 @@

> Since: v1.13.0
For it to work, you'll need to create a new Mastodon app `https://social.yourdomain.tld/settings/applications/new`, and set
some environment variables on your pipeline:
For it to work, you'll need to create a new Mastodon app
`https://social.yourdomain.tld/settings/applications/new` with `write:statuses`
permissions, and set the following environment variables in your pipeline:

- `MASTODON_CLIENT_ID`
- `MASTODON_CLIENT_SECRET`
- `MASTODON_ACCESS_TOKEN`
- `MASTODON_CLIENT_ID`: *"Client key"*.
- `MASTODON_CLIENT_SECRET`: *"Client secret"*.
- `MASTODON_ACCESS_TOKEN`: *"Your access token"*.

Then, you can add something like the following to your `.goreleaser.yaml` config:
Then, you can add something like the following to your `.goreleaser.yaml`
configuration file:

```yaml
# .goreleaser.yaml
@@ -1,7 +1,9 @@
# Links

- Follow the progress on the [GitHub repository](https://github.com/goreleaser/goreleaser)
- Follow [@goreleaser](/twitter) on Twitter for updates
- Follow us on [Twitter](/twitter) and
<a rel="me" href="https://fosstodon.org/@goreleaser">Mastodon</a>
for updates
- Join our [Discord server](/discord)
- Read our [blog](https://blog.goreleaser.com)[^blog]
- Sign up for our [Newsletter](https://www.getrevue.co/profile/goreleaser)
Empty file.
@@ -38,6 +38,7 @@ plugins:
redirect_maps:
discord.md: https://discord.gg/RGEBtg8vQ6
twitter.md: https://twitter.com/goreleaser
mastodon.md: https://fosstodon.org/@goreleaser
linkedin.md: https://www.linkedin.com/company/goreleaser/
- minify:
minify_html: true
@@ -48,6 +49,8 @@ extra:
link: https://github.com/goreleaser
- icon: fontawesome/brands/twitter
link: https://twitter.com/goreleaser
- icon: fontawesome/brands/mastodon
link: https://fosstodon.org/@goreleaser

nav:
- Home: index.md

0 comments on commit de254d5

Please sign in to comment.