From 3dc181e3fb921d24fe4255c192927c1499011eaf Mon Sep 17 00:00:00 2001 From: Brian Vanderbusch Date: Fri, 31 Jul 2020 14:22:08 -0500 Subject: [PATCH] flatten payload removes duplication of data, since all the points of data that we were explicitly setting were already children of the github.event object --- .github/workflows/trigger_docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trigger_docker.yml b/.github/workflows/trigger_docker.yml index 56776d9de..7dd73b4f0 100644 --- a/.github/workflows/trigger_docker.yml +++ b/.github/workflows/trigger_docker.yml @@ -14,5 +14,5 @@ jobs: with: token: ${{ secrets.OCTOPRINT_DOCKER_DISPATCH_TOKEN }} repository: ${{ github.repository_owner }}/octoprint-docker - event-type: octoprint-release - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "event-name": "${{ github.event_name }}", "event-type": "${{ github.event.action }}"}' + event-type: ${{ github.event.action }} + client-payload: '{"ref": "${{ github.event }}"}'