summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-05-06 16:42:55 -0400
committerGitHub <noreply@github.com>2020-05-06 16:42:55 -0400
commit07c6076ea0b3acf30be5ca200b9ee5b84b1a2e0d (patch)
treeda27f592cdb30b4c4af280ce0a928f3761f02ad2
parent28ab0bfb13cb17ff1380ee9a2d688a1962591988 (diff)
ci: Add release tagged event triggers to sister repos (#3321)
-rw-r--r--.github/workflows/release.yml21
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 }}"}'
+
+