mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-09 13:36:56 +02:00
docs: update error page
This commit is contained in:
parent
4d9198cafe
commit
0e22f07349
@ -14,6 +14,8 @@ Integrations that may cause this:
|
|||||||
|
|
||||||
- Homebrew Tap
|
- Homebrew Tap
|
||||||
- Krew Plugins
|
- Krew Plugins
|
||||||
|
- Scoop Manifests
|
||||||
|
- Nixpkgs
|
||||||
|
|
||||||
## Fixing it
|
## Fixing it
|
||||||
|
|
||||||
@ -25,11 +27,11 @@ You can create a PAT and use it for the entire GoReleaser action run.
|
|||||||
You'll need to add it as secret and pass it to the action, for instance:
|
You'll need to add it as secret and pass it to the action, for instance:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# .github/workflows/goreleaser.yaml
|
# .github/workflows/release.yaml
|
||||||
# ...
|
# ...
|
||||||
- uses: goreleaser/goreleaser-action@v4
|
- uses: goreleaser/goreleaser-action@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -42,12 +44,12 @@ Let's see, for example, how it would look like for Homebrew Taps.
|
|||||||
We would need to change the workflow file:
|
We would need to change the workflow file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# .github/workflows/goreleaser.yaml
|
# .github/workflows/release.yaml
|
||||||
# ...
|
# ...
|
||||||
- uses: goreleaser/goreleaser-action@v4
|
- uses: goreleaser/goreleaser-action@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -57,11 +59,11 @@ And also the `.goreleaser.yaml` file:
|
|||||||
# .goreleaser.yaml
|
# .goreleaser.yaml
|
||||||
# ...
|
# ...
|
||||||
brews:
|
brews:
|
||||||
- name: myproject
|
- name: myproject
|
||||||
tap:
|
tap:
|
||||||
owner: user
|
owner: user
|
||||||
name: homebrew-tap
|
name: homebrew-tap
|
||||||
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
|
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user