👷‍♂️ Add docs build trigger

We are switching docs.octoprint.org over to Github Actions, build
in a separate repository at OctoPrint/docs.octoprint.org
This commit is contained in:
Gina Häußge committed 2020-06-11 16:14:11 +02:00
1 parent a819b5d2ca
commit ddb88ea737
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
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 }}"}'