diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-05-06 16:42:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 16:42:55 -0400 |
commit | 07c6076ea0b3acf30be5ca200b9ee5b84b1a2e0d (patch) | |
tree | da27f592cdb30b4c4af280ce0a928f3761f02ad2 /.github/workflows | |
parent | 28ab0bfb13cb17ff1380ee9a2d688a1962591988 (diff) |
ci: Add release tagged event triggers to sister repos (#3321)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a58a793..5f6af50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,4 +65,23 @@ jobs: run: | for filename in dist/*.deb; do curl -F package=@"$filename" https://${GEMFURY_PUSH_TOKEN}:@push.fury.io/caddy/ - done
\ No newline at end of file + done + + # See https://github.com/peter-evans/repository-dispatch + - name: Trigger event on caddyserver/dist + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.REPO_DISPATCH_TOKEN }} + repository: caddyserver/dist + event-type: release-tagged + client-payload: '{"tag": "${{ steps.vars.outputs.version_tag }}"}' + + - name: Trigger event on caddyserver/caddy-docker + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.REPO_DISPATCH_TOKEN }} + repository: caddyserver/caddy-docker + event-type: release-tagged + client-payload: '{"tag": "${{ steps.vars.outputs.version_tag }}"}' + + |