From de254d582f2705e22ec2d6ca5a23a89c383b19d7 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Sun, 20 Nov 2022 13:20:26 -0300 Subject: [PATCH] docs: mastodon --- www/docs/customization/announce/mastodon.md | 14 ++++++++------ www/docs/links.md | 4 +++- www/docs/mastodon.md | 0 www/mkdocs.yml | 3 +++ 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 www/docs/mastodon.md diff --git a/www/docs/customization/announce/mastodon.md b/www/docs/customization/announce/mastodon.md index 9bc76a9c80e..a09eb2ccbc2 100644 --- a/www/docs/customization/announce/mastodon.md +++ b/www/docs/customization/announce/mastodon.md @@ -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 diff --git a/www/docs/links.md b/www/docs/links.md index f7858889546..1014e093f68 100644 --- a/www/docs/links.md +++ b/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 +Mastodon +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) diff --git a/www/docs/mastodon.md b/www/docs/mastodon.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/www/mkdocs.yml b/www/mkdocs.yml index ca69c72f0e3..65cfc18bd9e 100644 --- a/www/mkdocs.yml +++ b/www/mkdocs.yml @@ -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