mirror of
https://github.com/stakater/Reloader.git
synced 2026-02-14 18:09:50 +00:00
18 lines
562 B
YAML
18 lines
562 B
YAML
name: Dispatch event for published release
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
dispatch:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Trigger target repository workflow
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.STAKATER_AB_TOKEN_FOR_RLDR }}" \
|
|
https://api.github.com/repos/stakater-ab/reloader-enterprise/dispatches \
|
|
-d '{"event_type":"release-published","client_payload":{"tag":"${{ github.event.release.tag_name }}"}}'
|