Files
OctoPrint/.github/workflows/trigger_docker.yml
T
Brian Vanderbusch 3dc181e3fb 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
2020-08-14 09:54:10 -05:00

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 }}"}'