mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 05:33:49 +03:00
223f314331
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2 to 3. - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2...v3) --- updated-dependencies: - dependency-name: peter-evans/repository-dispatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
979 B
YAML
35 lines
979 B
YAML
name: Release Published
|
|
|
|
# Event payload: https://developer.github.com/webhooks/event-payloads/#release
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
release:
|
|
name: Release Published
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
# See https://github.com/peter-evans/repository-dispatch
|
|
- name: Trigger event on caddyserver/dist
|
|
uses: peter-evans/repository-dispatch@v3
|
|
with:
|
|
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
|
repository: caddyserver/dist
|
|
event-type: release-tagged
|
|
client-payload: '{"tag": "${{ github.event.release.tag_name }}"}'
|
|
|
|
- name: Trigger event on caddyserver/caddy-docker
|
|
uses: peter-evans/repository-dispatch@v3
|
|
with:
|
|
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
|
repository: caddyserver/caddy-docker
|
|
event-type: release-tagged
|
|
client-payload: '{"tag": "${{ github.event.release.tag_name }}"}'
|
|
|