Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 1 to 2. - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v2) --- updated-dependencies: - dependency-name: peter-evans/repository-dispatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
518 B
YAML
21 lines
518 B
YAML
name: Trigger doc build
|
|
on:
|
|
push:
|
|
release:
|
|
types:
|
|
- released
|
|
- prereleased
|
|
|
|
jobs:
|
|
trigger:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'OctoPrint/OctoPrint'
|
|
steps:
|
|
- name: 🚀 Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v2
|
|
with:
|
|
token: ${{ secrets.REPODISPATCH_TOKEN }}
|
|
repository: OctoPrint/docs.octoprint.org
|
|
event-type: docs
|
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|