Skip to content

Commit

Permalink
update dispatch gh token, dont use release env
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpetrovic committed Jun 17, 2024
1 parent dd0fa15 commit f30e7bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
build:
if: startsWith(github.ref, 'refs/tags/cli-') || inputs.app_version != ''
runs-on: ${{ matrix.os }}
environment: Release
outputs:
app_version: ${{ steps.set-build-info.outputs.app_version }}

Expand Down Expand Up @@ -104,12 +103,11 @@ jobs:
formula:
needs: build
runs-on: ubuntu-latest
environment: Release
steps:
- name: Send update formula event
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GH_PAT_HOMEBREW_DISPATCH_TOKEN }}
token: ${{ secrets.DISPATCH_TO_HOMEBREW_BEAM_GH_TOKEN }}
repository: beam-cloud/homebrew-beam
event-type: update-formula
client-payload: |-
Expand Down

0 comments on commit f30e7bd

Please sign in to comment.