Skip to content

Commit

Permalink
fix(goreleaser): add specific token for Homebrew publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickersoft committed Sep 27, 2023
1 parent 90530f5 commit 2f24baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
- name: Publish CLI
uses: goreleaser/goreleaser-action@v5
if: steps.release.outputs.release_created
env:
HOMEBREW_GH_TOKEN: ${{ secrets.HOMEBREW_GH_TOKEN }}
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to NPM
if: steps.release.outputs.js--release_created
env:
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ brews:
folder: Formula
repository:
owner: TheOpenDictionary
name: homebrew-odict
name: homebrew-odict
token: "{{ .Env.HOMEBREW_GH_TOKEN }}"

0 comments on commit 2f24baa

Please sign in to comment.