👷♂️ 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:
1 parent
a819b5d2ca
commit
ddb88ea737
1 file changed
+19
@@ -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 }}"}'
|
||||
Reference in new issue
Block a user