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
This commit is contained in:
Brian Vanderbusch committed 2020-08-14 09:54:10 -05:00
1 parent c235b12201
commit 3dc181e3fb
1 file changed
+2 -2
+2 -2
View File
@@ -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 }}"}'