mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 13:43:47 +03:00
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
This commit is contained in:
parent
c9049bdc24
commit
caca55e582
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release_published.yml
vendored
2
.github/workflows/release_published.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue