Skip to content

Commit

Permalink
πŸ‘·β€β™‚οΈ Add docs build trigger
Browse files Browse the repository at this point in the history
We are switching docs.octoprint.org over to Github Actions, build
in a separate repository at OctoPrint/docs.octoprint.org
  • Loading branch information
foosel committed Jun 11, 2020
1 parent a819b5d commit ddb88ea
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/trigger_docs.yml
Original file line number Diff line number Diff line change
@@ -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 }}"}'

0 comments on commit ddb88ea

Please sign in to comment.