Browse Source

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
master
Francis Lavoie 5 years ago
committed by GitHub
parent
commit
caca55e582
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/release_published.yml

2
.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

Loading…
Cancel
Save