summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-06-26 16:00:54 -0400
committerGitHub <noreply@github.com>2020-06-26 16:00:54 -0400
commitcaca55e582c74e43338b270ebb5ff277c4404195 (patch)
treebc7d79cd0759f512bcd7767337a83a5dde4ff4dc
parentc9049bdc24cf35a1c2a4871401428cd08daf1f7d (diff)
ci: Fix release publish trigger (#3524)
Looks like event payloads need to be prefixed with `github.event` to get the actual payload contents. Didn't dig deep enough. https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
-rw-r--r--.github/workflows/release_published.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release_published.yml b/.github/workflows/release_published.yml
index cf47e73..5b92a91 100644
--- a/.github/workflows/release_published.yml
+++ b/.github/workflows/release_published.yml
@@ -22,7 +22,7 @@ jobs:
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
repository: caddyserver/dist
event-type: release-tagged
- client-payload: '{"tag": "${{ github.release.tag_name }}"}'
+ client-payload: '{"tag": "${{ github.event.release.tag_name }}"}'
- name: Trigger event on caddyserver/caddy-docker
uses: peter-evans/repository-dispatch@v1