From ddb88ea737a4ab6b0371177ab8f0cf0dc8322edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 11 Jun 2020 16:14:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Add?= =?UTF-8?q?=20docs=20build=20trigger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are switching docs.octoprint.org over to Github Actions, build in a separate repository at OctoPrint/docs.octoprint.org --- .github/workflows/trigger_docs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/trigger_docs.yml diff --git a/.github/workflows/trigger_docs.yml b/.github/workflows/trigger_docs.yml new file mode 100644 index 000000000..6a4fc565c --- /dev/null +++ b/.github/workflows/trigger_docs.yml @@ -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 }}"}'