Skip to content

Commit

Permalink
ci: trigger repository_dispatch event on release (#27247)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Ogle <[email protected]>
Co-authored-by: Diego Sampaio <[email protected]>
  • Loading branch information
3 people authored May 8, 2023
1 parent 1f62c74 commit f0bb680
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -619,3 +619,18 @@ jobs:
done
echo "::endgroup::"
trigger-dependent-workflows:
runs-on: ubuntu-latest
needs:
- services-docker-image-publish
- docker-image-publish
steps:
- name: Send context to seperate pipeline
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DISTRIBUTION_TOKEN }}
event-type: new_release
repository: RocketChat/Release.Distributions
client-payload: '{"tag": "${{ github.ref_name }}"}'

0 comments on commit f0bb680

Please sign in to comment.