diff options
author | Francis Lavoie <[email protected]> | 2020-06-26 16:00:54 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-26 16:00:54 -0400 |
commit | caca55e582c74e43338b270ebb5ff277c4404195 (patch) | |
tree | bc7d79cd0759f512bcd7767337a83a5dde4ff4dc /.github | |
parent | c9049bdc24cf35a1c2a4871401428cd08daf1f7d (diff) | |
download | caddy-caca55e582c74e43338b270ebb5ff277c4404195.tar.gz caddy-caca55e582c74e43338b270ebb5ff277c4404195.zip |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release_published.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release_published.yml b/.github/workflows/release_published.yml index cf47e73d5..5b92a9133 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 |