From 5cc029978d216a77f46da94a42d1bfe01f3b8be9 Mon Sep 17 00:00:00 2001 From: Philip Windecker <95633467+philipwindecker@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:55:18 +0200 Subject: [PATCH] Update release.yml Added Antora Generator call at the end to trigger the GitHub Pages build. --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 471651b6d..541186c34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -182,3 +182,11 @@ jobs: with: file: ASAM_OSI_${{needs.setup.outputs.output1}}.zip tag: ${{ github.ref }} + - name: Trigger generator + if: ${{ env.MUP_KEY != '' }} + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.MACHINE_USER_PAT }} + event-type: antora-build-trigger + repository: OpenSimulationInterface/osi-antora-generator + client-payload: '{"src": "${{ github.repository }}", "ref": "master"}'