Skip to content

Commit

Permalink
feat: Add trigger for contributoor-installer update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Jan 13, 2025
1 parent 6782241 commit 88334ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

trigger-installer-update:
needs: [goreleaser]
runs-on: ubuntu-latest
steps:
- name: Get version
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Trigger contributoor-installer update
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ethpandaops/contributoor-installer
event-type: update-contributoor
client-payload: '{"version": "${{ steps.get_version.outputs.VERSION }}"}'

0 comments on commit 88334ad

Please sign in to comment.