mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
docs: improved env docs
This commit is contained in:
parent
b891a95a4b
commit
d902dc8213
@ -12,9 +12,15 @@ This token should be added to the environment variables as `GITHUB_TOKEN`.
|
||||
Here is how to do it with Travis CI:
|
||||
[Defining Variables in Repository Settings](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings).
|
||||
|
||||
If you don't want to have a globaly available github token on your env, you
|
||||
might as well consider having it in the `~/.config/goreleaser/github_token`
|
||||
file.
|
||||
Alternatively, you can provide the GitHub token in a file. GoReleaser will check `~/.config/goreleaser/github_token` by default, you can change that in
|
||||
the `.goreleaser.yml` file:
|
||||
|
||||
|
||||
```yaml
|
||||
# .goreleaser.yml
|
||||
env_files:
|
||||
github_token: ~/.path/to/my/token
|
||||
```
|
||||
|
||||
## The dist folder
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user