From caca55e582c74e43338b270ebb5ff277c4404195 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Fri, 26 Jun 2020 16:00:54 -0400 Subject: 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 --- .github/workflows/release_published.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') 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 -- cgit v1.2.3