2020-06-08 21:21:20 +03:00
|
|
|
name: Release Published
|
|
|
|
|
|
|
|
# Event payload: https://developer.github.com/webhooks/event-payloads/#release
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
name: Release Published
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-07-22 07:00:48 +03:00
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
2020-06-08 21:21:20 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
# See https://github.com/peter-evans/repository-dispatch
|
|
|
|
- name: Trigger event on caddyserver/dist
|
2024-02-02 02:34:40 +03:00
|
|
|
uses: peter-evans/repository-dispatch@v3
|
2020-06-08 21:21:20 +03:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
|
|
|
repository: caddyserver/dist
|
|
|
|
event-type: release-tagged
|
2020-06-26 23:00:54 +03:00
|
|
|
client-payload: '{"tag": "${{ github.event.release.tag_name }}"}'
|
2020-06-08 21:21:20 +03:00
|
|
|
|
|
|
|
- name: Trigger event on caddyserver/caddy-docker
|
2024-02-02 02:34:40 +03:00
|
|
|
uses: peter-evans/repository-dispatch@v3
|
2020-06-08 21:21:20 +03:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
|
|
|
repository: caddyserver/caddy-docker
|
|
|
|
event-type: release-tagged
|
2020-06-30 22:36:17 +03:00
|
|
|
client-payload: '{"tag": "${{ github.event.release.tag_name }}"}'
|
2020-06-08 21:21:20 +03:00
|
|
|
|