Skip to content

Commit

Permalink
feat: dispatch event to deployment repo on push to develop (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Mar 19, 2024
2 parents 34c1d43 + 7a3647c commit 11539a0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dispatch-develop-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dispatch events based on develop push

on:
push:
branches:
- develop

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DISPATCH_GITHUB_TOKEN }}
repository: kubeshop/testkube-deployment
event-type: testkube_charts_push
client-payload: '{"ref": "${{ github.ref }}", "ref_name": "${{ github.ref_name }}", "sha": "${{ github.sha }}", "repository": "${{ github.repository }}"}'

0 comments on commit 11539a0

Please sign in to comment.