Skip to content

Commit

Permalink
docs: mastodon
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 20, 2022
1 parent a67f8f8 commit de254d5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
14 changes: 8 additions & 6 deletions www/docs/customization/announce/mastodon.md
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion www/docs/links.md
@@ -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)
Expand Down
Empty file added www/docs/mastodon.md
Empty file.
3 changes: 3 additions & 0 deletions www/mkdocs.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit de254d5

Please sign in to comment.