removes duplication of data, since all the points of data that we were explicitly setting were already children of the github.event object
19 lines
490 B
YAML
19 lines
490 B
YAML
name: Trigger docker build
|
|
on:
|
|
release:
|
|
types:
|
|
- released
|
|
- prereleased
|
|
|
|
jobs:
|
|
trigger:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 🚀 Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.OCTOPRINT_DOCKER_DISPATCH_TOKEN }}
|
|
repository: ${{ github.repository_owner }}/octoprint-docker
|
|
event-type: ${{ github.event.action }}
|
|
client-payload: '{"ref": "${{ github.event }}"}'
|