Skip to content

Fix release workflow (don't try to publish schema generator) (#514) #361

Fix release workflow (don't try to publish schema generator) (#514)

Fix release workflow (don't try to publish schema generator) (#514) #361

# This workflow triggers a rebuild of the BO4E-dotnet documentation site whenever changes are made to master, which represents our latest released version.
# This pulls in the newest source code for API doc generation.
name: Trigger Documentation Build
on:
push:
branches:
- master
- main
jobs:
builddocs:
runs-on: ubuntu-latest
steps:
- name: Trigger documentation build
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.DOC_MGMT_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{ "event_type": "BO4E-dotnet push to master" }' \
https://api.github.com/repos/Hochfrequenz/bo4e-doc/dispatches