Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Added Antora Generator call at the end to
trigger the GitHub Pages build.

Signed-off-by: Pierre R. Mai <[email protected]>
  • Loading branch information
philipwindecker authored and pmai committed Nov 6, 2023
1 parent 1ec57b3 commit ef55b4d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}'

0 comments on commit ef55b4d

Please sign in to comment.