diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-06-26 16:00:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-26 16:00:54 -0400 |
commit | caca55e582c74e43338b270ebb5ff277c4404195 (patch) | |
tree | bc7d79cd0759f512bcd7767337a83a5dde4ff4dc | |
parent | c9049bdc24cf35a1c2a4871401428cd08daf1f7d (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.yml | 2 |
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 |