We are switching docs.octoprint.org over to Github Actions, build in a separate repository at OctoPrint/docs.octoprint.org
20 lines
466 B
YAML
20 lines
466 B
YAML
name: Trigger doc build
|
|
on:
|
|
push:
|
|
release:
|
|
types:
|
|
- released
|
|
- prereleased
|
|
|
|
jobs:
|
|
trigger:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 🚀 Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.DOCS_ACCESS_TOKEN }}
|
|
repository: OctoPrint/docs.octoprint.org
|
|
event-type: docs
|
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|