mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
docs: mastodon
This commit is contained in:
parent
a67f8f8551
commit
de254d582f
@ -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)
|
||||
|
0
www/docs/mastodon.md
Normal file
0
www/docs/mastodon.md
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user